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
Source§fn clone(&self) -> ReporterSnapshot
fn clone(&self) -> ReporterSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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