#[repr(C, packed(1))]pub struct RootRef {
pub dirid: U64<LE>,
pub sequence: U64<LE>,
pub name_len: U16<LE>,
}
Expand description
References a subvolume filesystem tree root. This is used for both forward and backward root references.
The name of the tree is stored after the end of the struct.
Fields§
§dirid: U64<LE>
The subtree ID.
sequence: U64<LE>
The directory sequence number of the subtree entry.
name_len: U16<LE>
The length of the subtree name, stored after this field.
Trait Implementations§
impl Copy for RootRef
impl FromBytes for RootRef
impl Unaligned for RootRef
Auto Trait Implementations§
impl Freeze for RootRef
impl RefUnwindSafe for RootRef
impl Send for RootRef
impl Sync for RootRef
impl Unpin for RootRef
impl UnwindSafe for RootRef
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