pub struct DiskCollector {
device_cache: HashMap<String, DeviceInfo>,
prev: Option<Snapshot>,
}Fields§
§device_cache: HashMap<String, DeviceInfo>Static hardware identity, cached once in new().
prev: Option<Snapshot>Implementations§
Auto Trait Implementations§
impl Freeze for DiskCollector
impl RefUnwindSafe for DiskCollector
impl Send for DiskCollector
impl Sync for DiskCollector
impl Unpin for DiskCollector
impl UnsafeUnpin for DiskCollector
impl UnwindSafe for DiskCollector
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