pub enum FilesystemKind {
Physical,
Removable,
Network,
Virtual,
Unknown,
}Expand description
What kind of filesystem a mount point is backed by.
Used by the removable/virtual filter in §7.3, not for styling.
Variants§
Physical
A local block device.
Removable
A local device that can be unplugged.
Network
A network mount such as NFS or SMB.
Capacity reads on these can block for seconds, which is why filesystem capacity lives in the medium tier rather than the fast one (§8.6).
Virtual
A kernel pseudo-filesystem such as tmpfs, devfs, or overlay.
Unknown
Not classifiable from the available information.
Implementations§
Source§impl FilesystemKind
impl FilesystemKind
Whether this mount is hidden by default in the Storage screen.
Trait Implementations§
Source§impl Clone for FilesystemKind
impl Clone for FilesystemKind
Source§fn clone(&self) -> FilesystemKind
fn clone(&self) -> FilesystemKind
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 FilesystemKind
Source§impl Debug for FilesystemKind
impl Debug for FilesystemKind
Source§impl Default for FilesystemKind
impl Default for FilesystemKind
Source§fn default() -> FilesystemKind
fn default() -> FilesystemKind
Returns the “default value” for a type. Read more
impl Eq for FilesystemKind
Source§impl PartialEq for FilesystemKind
impl PartialEq for FilesystemKind
impl StructuralPartialEq for FilesystemKind
Auto Trait Implementations§
impl Freeze for FilesystemKind
impl RefUnwindSafe for FilesystemKind
impl Send for FilesystemKind
impl Sync for FilesystemKind
impl Unpin for FilesystemKind
impl UnsafeUnpin for FilesystemKind
impl UnwindSafe for FilesystemKind
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