#[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 PartialEq for FileNode
impl PartialEq for FileNode
source§impl PartialOrd for FileNode
impl PartialOrd for FileNode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for FileNode
impl StructuralEq for FileNode
impl StructuralPartialEq for FileNode
Auto Trait Implementations§
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