Struct solana_sdk::commitment_config::CommitmentConfig [−][src]
Fields
commitment: CommitmentLevel
Implementations
impl CommitmentConfig
[src][−]
pub fn recent() -> Self
[src]
👎 Deprecated since 1.5.5:
Please use CommitmentConfig::processed() instead
pub fn max() -> Self
[src]
👎 Deprecated since 1.5.5:
Please use CommitmentConfig::finalized() instead
pub fn root() -> Self
[src]
👎 Deprecated since 1.5.5:
Please use CommitmentConfig::finalized() instead
pub fn single() -> Self
[src]
👎 Deprecated since 1.5.5:
Please use CommitmentConfig::confirmed() instead
pub fn single_gossip() -> Self
[src]
👎 Deprecated since 1.5.5:
Please use CommitmentConfig::confirmed() instead
pub fn finalized() -> Self
[src]
pub fn confirmed() -> Self
[src]
pub fn processed() -> Self
[src]
pub fn ok(self) -> Option<Self>
[src]
pub fn is_finalized(&self) -> bool
[src]
pub fn is_confirmed(&self) -> bool
[src]
pub fn is_processed(&self) -> bool
[src]
pub fn use_deprecated_commitment(commitment: CommitmentConfig) -> Self
[src]
Trait Implementations
impl Clone for CommitmentConfig
[src][+]
impl Copy for CommitmentConfig
[src]
impl Debug for CommitmentConfig
[src][+]
impl Default for CommitmentConfig
[src][+]
impl<'de> Deserialize<'de> for CommitmentConfig
[src][+]
impl FromStr for CommitmentConfig
[src][+]
impl PartialEq<CommitmentConfig> for CommitmentConfig
[src][+]
impl Serialize for CommitmentConfig
[src][+]
impl StructuralPartialEq for CommitmentConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for CommitmentConfig
impl Send for CommitmentConfig
impl Sync for CommitmentConfig
impl Unpin for CommitmentConfig
impl UnwindSafe for CommitmentConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Typeable for T where
T: Any,
[+]
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,