pub(crate) enum Type {
Dir,
File,
DirOrFile,
Anything,
}Expand description
A type of object that we have been told to require.
Variants§
Dir
A directory.
File
A regular file.
DirOrFile
A directory or a regular file.
Anything
Absolutely anything at all.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnsafeUnpin for Type
impl UnwindSafe for Type
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