Enum dia_files::FileSystem

source ·
pub enum FileSystem {
Show 52 variants ADFSSuper, AFFSSuper, AFSSuper, AutoFSSuper, BpfFS, BtrFSSuper, CgroupSuper, Cgroup2Super, CodaSuper, CramFS, DebugFS, DevPtsSuper, EcryptFSSuper, EFSSuper, Ext234Super, F2FSSuper, FuseSuper, FutexFSSuper, HostFSSuper, HPFSSuper, HugeTLBFS, IsoFSSuper, JFFS2Super, MINIXSuper, MINIXSuper2, MINIX2Super, MINIX2Super2, MINIX3Super, MSDOSSuper, NCPSuper, NFSSuper, NILFSSuper, NSFS, OCFS2Super, OpenPROMSuper, OverlayFSSuper, ProcSuper, QNX4Super, QNX6Super, ReiserFSSuper, SecurityFS, SELinux, Smack, SMBSuper, SysFS, TmpFS, TraceFS, UDFSuper, USBDeviceSuper, XENFSSuper, XFSSuper, Unknown,
}
Expand description

§File System

§References

  • statfs(2)

Variants§

§

ADFSSuper

§libc::ADFS_SUPER_MAGIC

§

AFFSSuper

§libc::AFFS_SUPER_MAGIC

§

AFSSuper

§libc::AFS_SUPER_MAGIC

§

AutoFSSuper

§libc::AUTOFS_SUPER_MAGIC

§

BpfFS

§libc::BPF_FS_MAGIC

§

BtrFSSuper

§libc::BTRFS_SUPER_MAGIC

§

CgroupSuper

§libc::CGROUP_SUPER_MAGIC

§

Cgroup2Super

§libc::CGROUP2_SUPER_MAGIC

§

CodaSuper

§libc::CODA_SUPER_MAGIC

§

CramFS

§libc::CRAMFS_MAGIC

§

DebugFS

§libc::DEBUGFS_MAGIC

§

DevPtsSuper

§libc::DEVPTS_SUPER_MAGIC

§

EcryptFSSuper

§libc::ECRYPTFS_SUPER_MAGIC

§

EFSSuper

§libc::EFS_SUPER_MAGIC

§

Ext234Super

§libc::EXT4_SUPER_MAGIC

§

F2FSSuper

§libc::F2FS_SUPER_MAGIC

§

FuseSuper

§libc::FUSE_SUPER_MAGIC

§

FutexFSSuper

§libc::FUTEXFS_SUPER_MAGIC

§

HostFSSuper

§libc::HOSTFS_SUPER_MAGIC

§

HPFSSuper

§libc::HPFS_SUPER_MAGIC

§

HugeTLBFS

§libc::HUGETLBFS_MAGIC

§

IsoFSSuper

§libc::ISOFS_SUPER_MAGIC

§

JFFS2Super

§libc::JFFS2_SUPER_MAGIC

§

MINIXSuper

§libc::MINIX_SUPER_MAGIC

§

MINIXSuper2

§libc::MINIX_SUPER_MAGIC2

§

MINIX2Super

§libc::MINIX2_SUPER_MAGIC

§

MINIX2Super2

§libc::MINIX2_SUPER_MAGIC2

§

MINIX3Super

§libc::MINIX3_SUPER_MAGIC

§

MSDOSSuper

§libc::MSDOS_SUPER_MAGIC

§

NCPSuper

§libc::NCP_SUPER_MAGIC

§

NFSSuper

§libc::NFS_SUPER_MAGIC

§

NILFSSuper

§libc::NILFS_SUPER_MAGIC

§

NSFS

§libc::NSFS_MAGIC

§

OCFS2Super

§libc::OCFS2_SUPER_MAGIC

§

OpenPROMSuper

§libc::OPENPROM_SUPER_MAGIC

§

OverlayFSSuper

§libc::OVERLAYFS_SUPER_MAGIC

§

ProcSuper

§libc::PROC_SUPER_MAGIC

§

QNX4Super

§libc::QNX4_SUPER_MAGIC

§

QNX6Super

§libc::QNX6_SUPER_MAGIC

§

ReiserFSSuper

§libc::REISERFS_SUPER_MAGIC

§

SecurityFS

§libc::SECURITYFS_MAGIC

§

SELinux

§libc::SELINUX_MAGIC

§

Smack

§libc::SMACK_MAGIC

§

SMBSuper

§libc::SMB_SUPER_MAGIC

§

SysFS

§libc::SYSFS_MAGIC

§

TmpFS

§libc::TMPFS_MAGIC

§

TraceFS

§libc::TRACEFS_MAGIC

§

UDFSuper

§libc::UDF_SUPER_MAGIC

§

USBDeviceSuper

§libc::USBDEVICE_SUPER_MAGIC

§

XENFSSuper

§libc::XENFS_SUPER_MAGIC

§

XFSSuper

§libc::XFS_SUPER_MAGIC

§

Unknown

§Unknown

Implementations§

source§

impl FileSystem

source

pub const fn magic_id(&self) -> i64

Available on crate feature libc and Unix only.
§Magic ID from libc

Trait Implementations§

source§

impl Debug for FileSystem

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for FileSystem

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for FileSystem

source§

fn eq(&self, other: &FileSystem) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Eq for FileSystem

source§

impl StructuralPartialEq for FileSystem

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more