Struct solana_sdk::commitment_config::CommitmentConfig[][src]

pub struct CommitmentConfig {
    pub commitment: CommitmentLevel,
}

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]

type Err = ParseCommitmentLevelError

The associated error which can be returned from parsing.

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]