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§
Source§impl 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§
Source§impl AbiExample for StatusCacheRc
impl AbiExample for StatusCacheRc
Source§impl Debug for StatusCacheRc
impl Debug for StatusCacheRc
Source§impl Default for StatusCacheRc
impl Default for StatusCacheRc
Source§fn default() -> StatusCacheRc
fn default() -> StatusCacheRc
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StatusCacheRc
impl RefUnwindSafe for StatusCacheRc
impl Send for StatusCacheRc
impl Sync for StatusCacheRc
impl Unpin for StatusCacheRc
impl UnwindSafe for StatusCacheRc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more