#[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§
Source§impl AsBytes for RootRef
impl AsBytes for RootRef
Source§fn as_bytes_mut(&mut self) -> &mut [u8]where
Self: FromBytes,
fn as_bytes_mut(&mut self) -> &mut [u8]where
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§fn write_to_prefix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
fn write_to_prefix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
Source§fn write_to_suffix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
fn write_to_suffix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
Source§impl FromBytes for RootRef
impl FromBytes for RootRef
impl Copy 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