pub struct NoopResourceMonitor;Expand description
Noop monitor: reports zero usage and never exceeds budget.
Trait Implementations§
Source§impl Clone for NoopResourceMonitor
impl Clone for NoopResourceMonitor
Source§fn clone(&self) -> NoopResourceMonitor
fn clone(&self) -> NoopResourceMonitor
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 moreimpl Copy for NoopResourceMonitor
Source§impl Debug for NoopResourceMonitor
impl Debug for NoopResourceMonitor
Source§impl Default for NoopResourceMonitor
impl Default for NoopResourceMonitor
Source§fn default() -> NoopResourceMonitor
fn default() -> NoopResourceMonitor
Returns the “default value” for a type. Read more
Source§impl ResourceMonitor for NoopResourceMonitor
impl ResourceMonitor for NoopResourceMonitor
Auto Trait Implementations§
impl Freeze for NoopResourceMonitor
impl RefUnwindSafe for NoopResourceMonitor
impl Send for NoopResourceMonitor
impl Sync for NoopResourceMonitor
impl Unpin for NoopResourceMonitor
impl UnsafeUnpin for NoopResourceMonitor
impl UnwindSafe for NoopResourceMonitor
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