struct StartupInfoDuplicates<T: IndexValue> {
duplicates: Vec<(Slot, Pubkey, T)>,
duplicates_put_on_disk: HashSet<(Slot, Pubkey)>,
}
Fields§
§duplicates: Vec<(Slot, Pubkey, T)>
entries that were found to have duplicate index entries. When all entries have been inserted, these can be resolved and held in memory.
duplicates_put_on_disk: HashSet<(Slot, Pubkey)>
pubkeys that were already added to disk and later found to be duplicates,
Trait Implementations§
source§impl<T: Debug + IndexValue> Debug for StartupInfoDuplicates<T>
impl<T: Debug + IndexValue> Debug for StartupInfoDuplicates<T>
source§impl<T: Default + IndexValue> Default for StartupInfoDuplicates<T>
impl<T: Default + IndexValue> Default for StartupInfoDuplicates<T>
source§fn default() -> StartupInfoDuplicates<T>
fn default() -> StartupInfoDuplicates<T>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<T> RefUnwindSafe for StartupInfoDuplicates<T>where T: RefUnwindSafe,
impl<T> Send for StartupInfoDuplicates<T>
impl<T> Sync for StartupInfoDuplicates<T>
impl<T> Unpin for StartupInfoDuplicates<T>where T: Unpin,
impl<T> UnwindSafe for StartupInfoDuplicates<T>where T: UnwindSafe,
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