Enum solana_runtime::accounts_index::AccountIndexGetResult [−][src]
pub enum AccountIndexGetResult<'a, T: 'static> {
Found(ReadAccountMapEntry<T>, usize),
NotFoundOnFork,
Missing(RwLockReadGuard<'a, AccountMap<Pubkey, Arc<AccountMapEntryInner<T>>>>),
}
Variants
Tuple Fields of Found
0: ReadAccountMapEntry<T>
1: usize
Tuple Fields of Missing
0: RwLockReadGuard<'a, AccountMap<Pubkey, Arc<AccountMapEntryInner<T>>>>
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for AccountIndexGetResult<'a, T>
impl<'a, T> !Send for AccountIndexGetResult<'a, T>
impl<'a, T> Sync for AccountIndexGetResult<'a, T> where
T: Send + Sync,
impl<'a, T> Unpin for AccountIndexGetResult<'a, T>
impl<'a, T> UnwindSafe for AccountIndexGetResult<'a, T>
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