Struct btrfs_diskformat::Stripe[][src]

#[repr(C, packed)]pub struct Stripe {
    pub devid: U64<LE>,
    pub offset: U64<LE>,
    pub dev_uuid: UuidBytes,
}

This structure is used to define the backing device storage that compose a Chunk.

Fields

devid: U64<LE>

The ID of the device that contains this stripe.

offset: U64<LE>

Location of the start of the stripe, in bytes.

The length is determined by the stripe_len field of the associated Chunk.

dev_uuid: UuidBytes

UUID of the device that contains this stripe.

This can be used to confirm that the correct device has been retrieved.

Trait Implementations

impl AsBytes for Stripe[src]

impl Clone for Stripe[src]

impl Copy for Stripe[src]

impl Debug for Stripe[src]

impl FromBytes for Stripe[src]

impl Hash for Stripe[src]

impl PartialEq<Stripe> for Stripe[src]

impl StructuralPartialEq for Stripe[src]

impl Unaligned for Stripe[src]

Auto Trait Implementations

impl RefUnwindSafe for Stripe

impl Send for Stripe

impl Sync for Stripe

impl Unpin for Stripe

impl UnwindSafe for Stripe

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.