#[repr(u16)]pub enum FileType {
IFDIR = 16_384,
IFCHR = 8_192,
IFBLK = 24_576,
IFREG = 32_768,
IFIFO = 4_096,
IFLNK = 40_960,
IFSOCK = 49_152,
}Variants§
IFDIR = 16_384
directory
IFCHR = 8_192
character device
IFBLK = 24_576
block device
IFREG = 32_768
regular file
IFIFO = 4_096
IFLNK = 40_960
IFSOCK = 49_152
Implementations§
Trait Implementations§
Source§impl Ord for FileType
impl Ord for FileType
Source§impl PartialOrd for FileType
impl PartialOrd for FileType
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 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