pub enum FileType {
File,
Dir,
Symlink,
Socket,
Fifo,
Char,
Block,
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 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