Struct solana_runtime::secondary_index::SecondaryIndex [−][src]
pub struct SecondaryIndex<SecondaryIndexEntryType: SecondaryIndexEntry + Default + Sync + Send> { pub index: DashMap<Pubkey, SecondaryIndexEntryType>, pub reverse_index: DashMap<Pubkey, SecondaryReverseIndexEntry>, // some fields omitted }
Fields
index: DashMap<Pubkey, SecondaryIndexEntryType>
reverse_index: DashMap<Pubkey, SecondaryReverseIndexEntry>
Implementations
impl<SecondaryIndexEntryType: SecondaryIndexEntry + Default + Sync + Send> SecondaryIndex<SecondaryIndexEntryType>
impl<SecondaryIndexEntryType: SecondaryIndexEntry + Default + Sync + Send> SecondaryIndex<SecondaryIndexEntryType>
Trait Implementations
impl<SecondaryIndexEntryType: Debug + SecondaryIndexEntry + Default + Sync + Send> Debug for SecondaryIndex<SecondaryIndexEntryType>
impl<SecondaryIndexEntryType: Debug + SecondaryIndexEntry + Default + Sync + Send> Debug for SecondaryIndex<SecondaryIndexEntryType>
impl<SecondaryIndexEntryType: Default + SecondaryIndexEntry + Sync + Send> Default for SecondaryIndex<SecondaryIndexEntryType>
impl<SecondaryIndexEntryType: Default + SecondaryIndexEntry + Sync + Send> Default for SecondaryIndex<SecondaryIndexEntryType>
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<SecondaryIndexEntryType> !RefUnwindSafe for SecondaryIndex<SecondaryIndexEntryType>
impl<SecondaryIndexEntryType> Send for SecondaryIndex<SecondaryIndexEntryType>
impl<SecondaryIndexEntryType> Sync for SecondaryIndex<SecondaryIndexEntryType>
impl<SecondaryIndexEntryType> Unpin for SecondaryIndex<SecondaryIndexEntryType>
impl<SecondaryIndexEntryType> UnwindSafe for SecondaryIndex<SecondaryIndexEntryType> where
SecondaryIndexEntryType: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self