pub struct DataPathStatus {
pub path: PathBuf,
pub exists: bool,
pub readable: bool,
pub fs_type: Option<String>,
pub skipped: bool,
}Expand description
Shared-data path visibility + filesystem-type detection.
Fields§
§path: PathBuf§exists: bool§readable: bool§fs_type: Option<String>Underlying filesystem type from /proc/mounts (e.g. virtiofs,
nfs4, cifs, fuse.sshfs, ext4). None when the path is
not mounted (falls inside the parent FS) or when /proc/mounts
is unavailable.
skipped: booltrue when the check was explicitly bypassed via
--skip-mount; the path/exists fields are unset (PathBuf::new
- false) in that case.
Auto Trait Implementations§
impl Freeze for DataPathStatus
impl RefUnwindSafe for DataPathStatus
impl Send for DataPathStatus
impl Sync for DataPathStatus
impl Unpin for DataPathStatus
impl UnsafeUnpin for DataPathStatus
impl UnwindSafe for DataPathStatus
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