Struct solana_ledger::blockstore_meta::SlotMeta[][src]

pub struct SlotMeta {
    pub slot: Slot,
    pub consumed: u64,
    pub received: u64,
    pub first_shred_timestamp: u64,
    pub last_index: u64,
    pub parent_slot: Slot,
    pub next_slots: Vec<Slot>,
    pub is_connected: bool,
    pub completed_data_indexes: Vec<u32>,
}

Fields

slot: Slotconsumed: u64received: u64first_shred_timestamp: u64last_index: u64parent_slot: Slotnext_slots: Vec<Slot>is_connected: boolcompleted_data_indexes: Vec<u32>

Implementations

impl SlotMeta[src]

pub fn is_full(&self) -> bool[src]

pub fn is_parent_set(&self) -> bool[src]

pub fn clear_unconfirmed_slot(&mut self)[src]

Trait Implementations

impl Clone for SlotMeta[src]

impl Debug for SlotMeta[src]

impl Default for SlotMeta[src]

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

impl Eq for SlotMeta[src]

impl PartialEq<SlotMeta> for SlotMeta[src]

impl Serialize for SlotMeta[src]

impl StructuralEq for SlotMeta[src]

impl StructuralPartialEq for SlotMeta[src]

Auto Trait Implementations

impl RefUnwindSafe for SlotMeta

impl Send for SlotMeta

impl Sync for SlotMeta

impl Unpin for SlotMeta

impl UnwindSafe for SlotMeta

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[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> IntoRequest<T> for T[src]

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

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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]

impl<T> WithSubscriber for T[src]