Struct solana_ledger::blockstore::SlotMetaWorkingSetEntry
source · pub struct SlotMetaWorkingSetEntry {
new_slot_meta: Rc<RefCell<SlotMeta>>,
old_slot_meta: Option<SlotMeta>,
did_insert_occur: bool,
}
Expand description
The in-memory data structure for updating entries in the column family
cf::SlotMeta
.
Fields§
§new_slot_meta: Rc<RefCell<SlotMeta>>
The dirty version of the SlotMeta
which might not be persisted
to the blockstore yet.
old_slot_meta: Option<SlotMeta>
The latest version of the SlotMeta
that was persisted in the
blockstore. If None, it means the current slot is new to the
blockstore.
did_insert_occur: bool
True only if at least one shred for this SlotMeta was inserted since this struct was created.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SlotMetaWorkingSetEntry
impl !Send for SlotMetaWorkingSetEntry
impl !Sync for SlotMetaWorkingSetEntry
impl Unpin for SlotMetaWorkingSetEntry
impl !UnwindSafe for SlotMetaWorkingSetEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request