pub enum ArcDir {
Directory,
Archive(ArchiveProps),
}
Expand description
This enum stores the state of the file system element.
Because it can’t be a file and a directory at the same time, an enum here makes the most sense.
Even so when it’s a file it has some special properties, so that is hold in the enum variant of
the file.
Neither this enum or the struct that holds has any custom implementations, only the ones
derived from macros
Variants§
Directory
Archive(ArchiveProps)
Trait Implementations§
Source§impl Ord for ArcDir
impl Ord for ArcDir
Source§impl PartialOrd for ArcDir
impl PartialOrd for ArcDir
impl Copy for ArcDir
impl Eq for ArcDir
impl StructuralPartialEq for ArcDir
Auto Trait Implementations§
impl Freeze for ArcDir
impl RefUnwindSafe for ArcDir
impl Send for ArcDir
impl Sync for ArcDir
impl Unpin for ArcDir
impl UnwindSafe for ArcDir
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