Struct solana_runtime::in_mem_accounts_index::StartupInfo
source · struct StartupInfo<T: IndexValue> {
insert: Mutex<Vec<(Slot, Pubkey, T)>>,
duplicates: Mutex<StartupInfoDuplicates<T>>,
}
Fields§
§insert: Mutex<Vec<(Slot, Pubkey, T)>>
entries to add next time we are flushing to disk
duplicates: Mutex<StartupInfoDuplicates<T>>
pubkeys with more than 1 entry
Trait Implementations§
source§impl<T: Debug + IndexValue> Debug for StartupInfo<T>
impl<T: Debug + IndexValue> Debug for StartupInfo<T>
source§impl<T: Default + IndexValue> Default for StartupInfo<T>
impl<T: Default + IndexValue> Default for StartupInfo<T>
source§fn default() -> StartupInfo<T>
fn default() -> StartupInfo<T>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<T> RefUnwindSafe for StartupInfo<T>
impl<T> Send for StartupInfo<T>
impl<T> Sync for StartupInfo<T>
impl<T> Unpin for StartupInfo<T>where T: Unpin,
impl<T> UnwindSafe for StartupInfo<T>
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