Struct ethcore_blockchain::CacheSize
source · [−]pub struct CacheSize {
pub blocks: usize,
pub block_details: usize,
pub transaction_addresses: usize,
pub block_receipts: usize,
}
Expand description
Represents blockchain’s in-memory cache size in bytes.
Fields
blocks: usize
Blocks cache size.
block_details: usize
BlockDetails cache size.
transaction_addresses: usize
Transaction addresses cache size.
block_receipts: usize
Block receipts size.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CacheSize
impl Send for CacheSize
impl Sync for CacheSize
impl Unpin for CacheSize
impl UnwindSafe for CacheSize
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more