pub struct UsageReporter { /* private fields */ }Implementations§
Source§impl UsageReporter
impl UsageReporter
pub fn new() -> Self
pub fn summary(&self) -> &UsageSummary
Trait Implementations§
Source§impl Default for UsageReporter
impl Default for UsageReporter
Source§fn default() -> UsageReporter
fn default() -> UsageReporter
Returns the “default value” for a type. Read more
Source§impl LoopObserver for UsageReporter
impl LoopObserver for UsageReporter
fn handle_event(&mut self, event: AgentEvent)
Auto Trait Implementations§
impl Freeze for UsageReporter
impl RefUnwindSafe for UsageReporter
impl Send for UsageReporter
impl Sync for UsageReporter
impl Unpin for UsageReporter
impl UnsafeUnpin for UsageReporter
impl UnwindSafe for UsageReporter
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