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]
fn clone(&self) -> CommitmentConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CommitmentConfig
[src]
impl Debug for CommitmentConfig
[src]
impl Default for CommitmentConfig
[src]
fn default() -> CommitmentConfig
[src]
impl<'de> Deserialize<'de> for CommitmentConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl FromStr for CommitmentConfig
[src]
type Err = ParseCommitmentLevelError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl PartialEq<CommitmentConfig> for CommitmentConfig
[src]
fn eq(&self, other: &CommitmentConfig) -> bool
[src]
fn ne(&self, other: &CommitmentConfig) -> bool
[src]
impl Serialize for CommitmentConfig
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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>,