pub struct ProcStatfsInspector;Expand description
Production inspector. Prefer kernel syscalls when available; fall back to parsing /proc/self/mounts.
Trait Implementations§
Source§impl Clone for ProcStatfsInspector
impl Clone for ProcStatfsInspector
Source§fn clone(&self) -> ProcStatfsInspector
fn clone(&self) -> ProcStatfsInspector
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProcStatfsInspector
impl Debug for ProcStatfsInspector
Source§impl MountInspector for ProcStatfsInspector
impl MountInspector for ProcStatfsInspector
Source§fn flags_for(&self, path: &Path) -> Result<MountFlags, MountError>
fn flags_for(&self, path: &Path) -> Result<MountFlags, MountError>
Get mount flags for a path. Read more
impl Copy for ProcStatfsInspector
Auto Trait Implementations§
impl Freeze for ProcStatfsInspector
impl RefUnwindSafe for ProcStatfsInspector
impl Send for ProcStatfsInspector
impl Sync for ProcStatfsInspector
impl Unpin for ProcStatfsInspector
impl UnwindSafe for ProcStatfsInspector
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