pub enum FileType {
Block,
Character,
Directory,
Fifo,
Link,
Regular,
Socket,
Unknown,
}
Expand description
File type representation.
Variants§
Block
Block file type.
Character
Character file type.
Directory
Directory file type.
Fifo
FIFO file type.
Link
Link file type.
Regular
Regular file type.
Socket
Socket file type.
Unknown
Unknown file type.
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