Struct btrfs_diskformat::RootRef[][src]

#[repr(C, packed)]pub struct RootRef {
    pub dirid: U64<LE>,
    pub sequence: U64<LE>,
    pub name_len: U16<LE>,
}

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 AsBytes for RootRef[src]

impl Clone for RootRef[src]

impl Copy for RootRef[src]

impl Debug for RootRef[src]

impl FromBytes for RootRef[src]

impl Unaligned for RootRef[src]

Auto Trait Implementations

impl RefUnwindSafe for RootRef

impl Send for RootRef

impl Sync for RootRef

impl Unpin for RootRef

impl UnwindSafe for RootRef

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.