pub enum FileType {
File,
Dir,
Symlink,
Unknown,
}Variants§
Implementations§
Trait Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> PathsInErrorsExt for T
impl<T> PathsInErrorsExt for T
Source§fn with_paths_in_errors(&self) -> SysWithPathsInErrors<&Self>
fn with_paths_in_errors(&self) -> SysWithPathsInErrors<&Self>
Wraps
self in a SysWithPathsInErrors that includes paths in error messages.