pub enum FileType {
Unknown,
RegFile,
Dir,
Chrdev,
Blkdev,
Fifo,
Sock,
Symlink,
Xattr,
Other(u8),
}Expand description
Directory entry file type, stored in btrfs_dir_item::type.
Variants§
Unknown
Unknown file type (0).
RegFile
Regular file.
Dir
Directory.
Chrdev
Character device.
Blkdev
Block device.
Fifo
Named pipe (FIFO).
Sock
Unix domain socket.
Symlink
Symbolic link.
Xattr
Extended attribute (used in XATTR_ITEM entries).
Other(u8)
Unrecognized file type byte.
Implementations§
Trait Implementations§
impl Copy for FileType
impl Eq for FileType
impl StructuralPartialEq for FileType
Auto Trait Implementations§
impl Freeze for FileType
impl RefUnwindSafe for FileType
impl Send for FileType
impl Sync for FileType
impl Unpin for FileType
impl UnsafeUnpin for FileType
impl UnwindSafe for FileType
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