pub struct DiskUsageObserver<F: ?Sized + DiskUsageCallback> { /* private fields */ }Expand description
Handle returned by DiskUsage::observe.
Keep this observer in scope as long as you want to receive updates on disk usage changes. Dropping the observer will stop the observation.
Auto Trait Implementations§
impl<F> Freeze for DiskUsageObserver<F>
impl<F> RefUnwindSafe for DiskUsageObserver<F>where
F: RefUnwindSafe + ?Sized,
impl<F> Send for DiskUsageObserver<F>where
F: ?Sized,
impl<F> Sync for DiskUsageObserver<F>
impl<F> Unpin for DiskUsageObserver<F>
impl<F> UnwindSafe for DiskUsageObserver<F>where
F: UnwindSafe + ?Sized,
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