Struct btrfs_diskformat::Stripe
source · #[repr(C, packed)]pub struct Stripe {
pub devid: U64<LE>,
pub offset: U64<LE>,
pub dev_uuid: UuidBytes,
}
Expand description
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 Copy for Stripe
impl FromBytes for Stripe
impl StructuralPartialEq for Stripe
impl Unaligned for Stripe
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more