Struct solana_runtime::bank::StatusCacheRc
source · pub struct StatusCacheRc {
pub status_cache: Arc<RwLock<StatusCache<Result<()>>>>,
}
Fields
status_cache: Arc<RwLock<StatusCache<Result<()>>>>
where all the Accounts are stored A cache of signature statuses
Implementations
sourceimpl StatusCacheRc
impl StatusCacheRc
pub fn slot_deltas(&self, slots: &[Slot]) -> Vec<BankSlotDelta>ⓘ
pub fn roots(&self) -> Vec<Slot>ⓘ
pub fn append(&self, slot_deltas: &[BankSlotDelta])
Trait Implementations
sourceimpl AbiExample for StatusCacheRc
impl AbiExample for StatusCacheRc
sourceimpl Debug for StatusCacheRc
impl Debug for StatusCacheRc
sourceimpl Default for StatusCacheRc
impl Default for StatusCacheRc
sourcefn default() -> StatusCacheRc
fn default() -> StatusCacheRc
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for StatusCacheRc
impl Send for StatusCacheRc
impl Sync for StatusCacheRc
impl Unpin for StatusCacheRc
impl UnwindSafe for StatusCacheRc
Blanket Implementations
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more