Struct fvm_ipld_blockstore::tracking::BSStats
source · pub struct BSStats {
pub r: usize,
pub w: usize,
pub br: usize,
pub bw: usize,
}
Expand description
Stats for a TrackingBlockstore this indicates the amount of read and written data to the wrapped store.
Fields§
§r: usize
Number of reads
w: usize
Number of writes
br: usize
Bytes Read
bw: usize
Bytes Written
Trait Implementations§
source§impl PartialEq for BSStats
impl PartialEq for BSStats
impl Copy for BSStats
impl Eq for BSStats
impl StructuralPartialEq for BSStats
Auto Trait Implementations§
impl Freeze for BSStats
impl RefUnwindSafe for BSStats
impl Send for BSStats
impl Sync for BSStats
impl Unpin for BSStats
impl UnwindSafe for BSStats
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> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)