Enum poseidon_client::Commitment
source · [−]pub enum Commitment {
Processed,
Confirmed,
Finalized,
Unspecified,
}Variants
Processed
Confirmed
Finalized
Unspecified
Trait Implementations
sourceimpl BorshDeserialize for Commitment
impl BorshDeserialize for Commitment
sourceimpl BorshSerialize for Commitment
impl BorshSerialize for Commitment
sourceimpl Clone for Commitment
impl Clone for Commitment
sourcefn clone(&self) -> Commitment
fn clone(&self) -> Commitment
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for Commitment
impl Debug for Commitment
sourceimpl Default for Commitment
impl Default for Commitment
sourceimpl<'de> Deserialize<'de> for Commitment
impl<'de> Deserialize<'de> for Commitment
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<&str> for Commitment
impl From<&str> for Commitment
sourceimpl Into<&str> for Commitment
impl Into<&str> for Commitment
sourceimpl Ord for Commitment
impl Ord for Commitment
sourcefn cmp(&self, other: &Commitment) -> Ordering
fn cmp(&self, other: &Commitment) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<Commitment> for Commitment
impl PartialEq<Commitment> for Commitment
sourceimpl PartialOrd<Commitment> for Commitment
impl PartialOrd<Commitment> for Commitment
sourcefn partial_cmp(&self, other: &Commitment) -> Option<Ordering>
fn partial_cmp(&self, other: &Commitment) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl Serialize for Commitment
impl Serialize for Commitment
impl Copy for Commitment
impl Eq for Commitment
impl StructuralEq for Commitment
impl StructuralPartialEq for Commitment
Auto Trait Implementations
impl RefUnwindSafe for Commitment
impl Send for Commitment
impl Sync for Commitment
impl Unpin for Commitment
impl UnwindSafe for Commitment
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more