#[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

Gets the bytes of this value. Read more

Gets the bytes of this value mutably. Read more

Writes a copy of self to bytes. Read more

Writes a copy of self to the prefix of bytes. Read more

Writes a copy of self to the suffix of bytes. 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

Reads a copy of Self from bytes. Read more

Reads a copy of Self from the prefix of bytes. Read more

Reads a copy of Self from the suffix of bytes. Read more

Creates an instance of Self from zeroed bytes.

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

Performs the conversion.

Performs the conversion.

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.