pub struct MediaOpStats {
pub media_ops: u64,
pub bytes: u64,
}Expand description
Durable-media accounting for the flush budget controller (TD-004).
Fields§
§media_ops: u64File/dir fsyncs or billable durable requests performed since last take.
bytes: u64Bytes written through durable (or memory) put paths since last take.
Trait Implementations§
Source§impl Clone for MediaOpStats
impl Clone for MediaOpStats
impl Copy for MediaOpStats
Source§impl Debug for MediaOpStats
impl Debug for MediaOpStats
Source§impl Default for MediaOpStats
impl Default for MediaOpStats
impl Eq for MediaOpStats
Source§impl PartialEq for MediaOpStats
impl PartialEq for MediaOpStats
impl StructuralPartialEq for MediaOpStats
Auto Trait Implementations§
impl Forget for MediaOpStats
impl Freeze for MediaOpStats
impl RefUnwindSafe for MediaOpStats
impl Send for MediaOpStats
impl Sync for MediaOpStats
impl Unpin for MediaOpStats
impl UnsafeUnpin for MediaOpStats
impl UnwindSafe for MediaOpStats
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