Struct solana_runtime::accounts_index::WriteAccountMapEntry[][src]

pub struct WriteAccountMapEntry<T: 'static> { /* fields omitted */ }

Implementations

impl<T: 'static + Clone + IsCached> WriteAccountMapEntry<T>[src]

pub fn from_account_map_entry(
    account_map_entry: Arc<AccountMapEntryInner<T>>
) -> Self
[src]

pub fn slot_list(&mut self) -> &SlotList<T>[src]

pub fn slot_list_mut<RT>(
    &mut self,
    user: impl for<'this> FnOnce(&mut RwLockWriteGuard<'this, SlotList<T>>) -> RT
) -> RT
[src]

pub fn ref_count(&self) -> &AtomicU64[src]

pub fn update(
    &mut self,
    slot: Slot,
    account_info: T,
    reclaims: &mut SlotList<T>
)
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for WriteAccountMapEntry<T>

impl<T> !Send for WriteAccountMapEntry<T>

impl<T> Sync for WriteAccountMapEntry<T> where
    T: Send + Sync

impl<T> Unpin for WriteAccountMapEntry<T>

impl<T> UnwindSafe for WriteAccountMapEntry<T>

Blanket Implementations

impl<T> AbiExample for T[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,