pub enum FsNode {
File {
content: Vec<u8>,
mode: u32,
mtime: SystemTime,
},
Directory {
children: BTreeMap<String, FsNode>,
mode: u32,
mtime: SystemTime,
},
Symlink {
target: PathBuf,
mtime: SystemTime,
},
}Expand description
In-memory representation of a filesystem node.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FsNode
impl RefUnwindSafe for FsNode
impl Send for FsNode
impl Sync for FsNode
impl Unpin for FsNode
impl UnsafeUnpin for FsNode
impl UnwindSafe for FsNode
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