#[repr(C, u64)]pub enum FileNode {
Dir(Hash40),
File(Hash40),
}
Expand description
A node in the file tree, the hash of which can be used to handle lookups.
Variants§
Trait Implementations§
Source§impl Ord for FileNode
impl Ord for FileNode
Source§impl PartialOrd for FileNode
impl PartialOrd for FileNode
impl Eq for FileNode
impl StructuralPartialEq for FileNode
Auto Trait Implementations§
impl Freeze for FileNode
impl RefUnwindSafe for FileNode
impl Send for FileNode
impl Sync for FileNode
impl Unpin for FileNode
impl UnwindSafe for FileNode
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