pub enum Inode<T> {
Directory(Box<Directory<T>>),
Leaf(Rc<Leaf<T>>),
}Expand description
A filesystem inode representing either a directory or a leaf node.
Variants§
Directory(Box<Directory<T>>)
A directory inode.
Leaf(Rc<Leaf<T>>)
A leaf inode (reference-counted to support hardlinks).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Inode<T>
impl<T> !RefUnwindSafe for Inode<T>
impl<T> !Send for Inode<T>
impl<T> !Sync for Inode<T>
impl<T> Unpin for Inode<T>
impl<T> !UnwindSafe for Inode<T>
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