pub struct ReporterSnapshot {
pub name: String,
pub current_bytes: u64,
}Expand description
Per-reporter slice of a BudgetSnapshot.
Fields§
§name: StringReporter name (NonCacheReporter::name).
current_bytes: u64Bytes the reporter said it was holding when the tick fired.
Trait Implementations§
Source§impl Clone for ReporterSnapshot
impl Clone for ReporterSnapshot
Auto Trait Implementations§
impl Freeze for ReporterSnapshot
impl RefUnwindSafe for ReporterSnapshot
impl Send for ReporterSnapshot
impl Sync for ReporterSnapshot
impl Unpin for ReporterSnapshot
impl UnsafeUnpin for ReporterSnapshot
impl UnwindSafe for ReporterSnapshot
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