Enum solana_client::rpc_response::SlotUpdate[][src]

pub enum SlotUpdate {
    FirstShredReceived {
        slot: Slot,
        timestamp: u64,
    },
    Completed {
        slot: Slot,
        timestamp: u64,
    },
    CreatedBank {
        slot: Slot,
        parent: Slot,
        timestamp: u64,
    },
    Frozen {
        slot: Slot,
        timestamp: u64,
        stats: SlotTransactionStats,
    },
    Dead {
        slot: Slot,
        timestamp: u64,
        err: String,
    },
    OptimisticConfirmation {
        slot: Slot,
        timestamp: u64,
    },
    Root {
        slot: Slot,
        timestamp: u64,
    },
}

Variants

FirstShredReceived

Fields of FirstShredReceived

slot: Slottimestamp: u64
Completed

Fields of Completed

slot: Slottimestamp: u64
CreatedBank

Fields of CreatedBank

slot: Slotparent: Slottimestamp: u64
Frozen

Fields of Frozen

slot: Slottimestamp: u64stats: SlotTransactionStats
Dead

Fields of Dead

slot: Slottimestamp: u64err: String
OptimisticConfirmation

Fields of OptimisticConfirmation

slot: Slottimestamp: u64
Root

Fields of Root

slot: Slottimestamp: u64

Implementations

impl SlotUpdate[src]

pub fn slot(&self) -> Slot[src]

Trait Implementations

impl Debug for SlotUpdate[src]

impl<'de> Deserialize<'de> for SlotUpdate[src]

impl Serialize for SlotUpdate[src]

Auto Trait Implementations

Blanket Implementations

impl<T> AbiEnumVisitor for T where
    T: Serialize + AbiExample + ?Sized

impl<T> AbiEnumVisitor for T where
    T: Serialize + ?Sized

impl<T> AbiExample for T

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>,