pub struct InodeRef {
pub index: u64,
pub name: Vec<u8>,
}Expand description
Hard link reference from an inode to a directory entry.
Key: (inode_number, INODE_REF, parent_dir_inode). Multiple refs can be
packed into a single item when an inode has several hard links in the same
parent directory.
Fields§
§index: u64Index in the parent directory (matches a DIR_INDEX key offset).
name: Vec<u8>Filename component (raw bytes, typically UTF-8).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InodeRef
impl RefUnwindSafe for InodeRef
impl Send for InodeRef
impl Sync for InodeRef
impl Unpin for InodeRef
impl UnsafeUnpin for InodeRef
impl UnwindSafe for InodeRef
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