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>
[src]
impl<SecondaryIndexEntryType: SecondaryIndexEntry + Default + Sync + Send> SecondaryIndex<SecondaryIndexEntryType>
[src]Trait Implementations
impl<SecondaryIndexEntryType: Debug + SecondaryIndexEntry + Default + Sync + Send> Debug for SecondaryIndex<SecondaryIndexEntryType>
[src]
impl<SecondaryIndexEntryType: Debug + SecondaryIndexEntry + Default + Sync + Send> Debug for SecondaryIndex<SecondaryIndexEntryType>
[src]impl<SecondaryIndexEntryType: Default + SecondaryIndexEntry + Sync + Send> Default for SecondaryIndex<SecondaryIndexEntryType>
[src]
impl<SecondaryIndexEntryType: Default + SecondaryIndexEntry + Sync + Send> Default for SecondaryIndex<SecondaryIndexEntryType>
[src]fn default() -> SecondaryIndex<SecondaryIndexEntryType>
[src]
fn default() -> SecondaryIndex<SecondaryIndexEntryType>
[src]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,
SecondaryIndexEntryType: UnwindSafe,
Blanket Implementations
impl<T> AbiExample for T
[src]
impl<T> AbiExample for T
[src]impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,