#[repr(C, packed)]
pub struct DevExtent { pub chunk_tree: U64<LE>, pub chunk_objectid: U64<LE>, pub chunk_offset: U64<LE>, pub length: U64<LE>, pub chunk_tree_uuid: UuidBytes, }
Expand description

Maps physical extents on an individual backing device to a chunk. This extent may be the only one for a particular chunk or one of several.

It is associated with the DEV_ITEM item. This structure is never used outside of this item.

Fields

chunk_tree: U64<LE>

The object ID of the chunk tree that owns this extent.

chunk_objectid: U64<LE>

The object ID of the chunk item that references this extent.

chunk_offset: U64<LE>

The offset of the chunk item that references this extent.

length: U64<LE>

The length of this extent, in bytes.

chunk_tree_uuid: UuidBytes

The UUID of the chunk tree that owns this extent.

Trait Implementations

Get the bytes of this value. Read more
Get the bytes of this value mutably. Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.