pub enum FileType {
File,
Dir,
Symlink,
Socket,
Fifo,
Char,
Other,
}Expand description
Enum mapping for various *nix file types. Mapped from std::fs::FileType and rustix::fs::FileTypeExt.
Variants§
Trait Implementations§
Auto Trait Implementations§
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