#[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§
impl Eq for FileNode
Source§impl Ord for FileNode
impl Ord for FileNode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for FileNode
impl PartialOrd 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 UnsafeUnpin 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