Struct solana_runtime::ancient_append_vecs::SlotInfo
source · struct SlotInfo {
storage: Arc<AccountStorageEntry>,
slot: Slot,
capacity: u64,
alive_bytes: u64,
should_shrink: bool,
}
Expand description
info about a storage eligible to be combined into an ancient append vec. Useful to help sort vecs of storages.
Fields§
§storage: Arc<AccountStorageEntry>
§slot: Slot
slot of storage
capacity: u64
total capacity of storage
alive_bytes: u64
§should_shrink: bool
true if this should be shrunk due to ratio
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SlotInfo
impl Send for SlotInfo
impl Sync for SlotInfo
impl Unpin for SlotInfo
impl UnwindSafe for SlotInfo
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