pub enum FileType {
Unknown = 0,
File = 1,
Directory = 2,
SymbolicLink = 64,
}
Variants§
Unknown = 0
The file type is unknown.
File = 1
A regular file.
Directory = 2
A directory.
SymbolicLink = 64
A symbolic link to a file.
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