pub struct AtomicBankHashStats {
pub num_updated_accounts: AtomicU64,
pub num_removed_accounts: AtomicU64,
pub num_lamports_stored: AtomicU64,
pub total_data_len: AtomicU64,
pub num_executable_accounts: AtomicU64,
}Fields§
§num_updated_accounts: AtomicU64§num_removed_accounts: AtomicU64§num_lamports_stored: AtomicU64§total_data_len: AtomicU64§num_executable_accounts: AtomicU64Implementations§
Source§impl AtomicBankHashStats
impl AtomicBankHashStats
pub fn new(stat: &BankHashStats) -> Self
pub fn accumulate(&self, other: &BankHashStats)
pub fn load(&self) -> BankHashStats
Trait Implementations§
Source§impl Debug for AtomicBankHashStats
impl Debug for AtomicBankHashStats
Source§impl Default for AtomicBankHashStats
impl Default for AtomicBankHashStats
Source§fn default() -> AtomicBankHashStats
fn default() -> AtomicBankHashStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for AtomicBankHashStats
impl RefUnwindSafe for AtomicBankHashStats
impl Send for AtomicBankHashStats
impl Sync for AtomicBankHashStats
impl Unpin for AtomicBankHashStats
impl UnwindSafe for AtomicBankHashStats
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