pub fn as_str(&self) -> &str {
        match self {
            FileSystem::Ext2 => "ext2",
            FileSystem::Ext3 => "ext3",
            FileSystem::Ext4 => "ext4",
            FileSystem::VFat => "vfat",
            FileSystem::Ntfs => "ntfs",
            FileSystem::Zfs => "zfs",
            FileSystem::Hfs => "hfs",
            FileSystem::Reiser3 => "reiserfs",
            FileSystem::Reiser4 => "reiser4",
            FileSystem::FuseBlk => "fuseblk",
            FileSystem::ExFat => "exfat",
            FileSystem::F2fs => "f2fs",
            FileSystem::HfsPlus => "hfs+",
            FileSystem::Jfs => "jfs",
            FileSystem::Btrfs => "btrfs",
            FileSystem::Minix => "minix",
            FileSystem::Nilfs => "nilfs",
            FileSystem::Xfs => "xfs",
            FileSystem::Apfs => "apfs",
            FileSystem::Other(string) => string.as_str(),
        }
    }
/// Returns a string identifying this filesystem.
Returns a string identifying this filesystem.
Returns a string identifying this filesystem .
pub fn as_str(&self) -> &str {
        match self {
            FileSystem::Ext2 => "ext2",
            FileSystem::Ext3 => "ext3",
            FileSystem::Ext4 => "ext4",
            FileSystem::VFat => "vfat",
            FileSystem::Ntfs => "ntfs",
            FileSystem::Zfs => "zfs",
            FileSystem::Hfs => "hfs",
            FileSystem::Reiser3 => "reiserfs",
            FileSystem::Reiser4 => "reiser4",
            FileSystem::FuseBlk => "fuseblk",
            FileSystem::ExFat => "exfat",
            FileSystem::F2fs => "f2fs",
            FileSystem::HfsPlus => "hfs+",
            FileSystem::Jfs => "jfs",
            FileSystem::Btrfs => "btrfs",
            FileSystem::Minix => "minix",
            FileSystem::Nilfs => "nilfs",
            FileSystem::Xfs => "xfs",
            FileSystem::Apfs => "apfs",
            FileSystem::Other(string) => string.as_str(),
        }
    }
pub fn as_str ( & self ) -> & str { match self { FileSystem :: Ext2 => " " , FileSystem :: Ext3 => " " , FileSystem :: Ext4 => " " , FileSystem :: VFat => " " , FileSystem :: Ntfs => " " , FileSystem :: Zfs => " " , FileSystem :: Hfs => " " , FileSystem :: Reiser3 => " " , FileSystem :: Reiser4 => " " , FileSystem :: FuseBlk => " " , FileSystem :: ExFat => " " , FileSystem :: F2fs => " " , FileSystem :: HfsPlus => " " , FileSystem :: Jfs => " " , FileSystem :: Btrfs => " " , FileSystem :: Minix => " " , FileSystem :: Nilfs => " " , FileSystem :: Xfs => " " , FileSystem :: Apfs => " " , FileSystem :: Other ( string ) => string . as_str ( ) , } }
Returns a string identifying this filesystem.
Returns a string identifying this filesystem .
&self
&self