Enum block_utils::FilesystemType [−][src]
pub enum FilesystemType {
Btrfs,
Ext2,
Ext3,
Ext4,
Xfs,
Zfs,
Unknown,
}What type of filesystem
Variants
BtrfsExt2Ext3Ext4XfsZfsUnknown
Methods
impl FilesystemType[src]
impl FilesystemTypepub fn from_str(fs_type: &str) -> FilesystemType[src]
pub fn from_str(fs_type: &str) -> FilesystemTypepub fn to_str(&self) -> &str[src]
pub fn to_str(&self) -> &strpub fn to_string(&self) -> String[src]
pub fn to_string(&self) -> StringTrait Implementations
impl Clone for FilesystemType[src]
impl Clone for FilesystemTypefn clone(&self) -> FilesystemType[src]
fn clone(&self) -> FilesystemTypeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for FilesystemType[src]
impl Debug for FilesystemTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for FilesystemType[src]
impl Eq for FilesystemTypeimpl PartialEq for FilesystemType[src]
impl PartialEq for FilesystemTypeAuto Trait Implementations
impl Send for FilesystemType
impl Send for FilesystemTypeimpl Sync for FilesystemType
impl Sync for FilesystemType