#[repr(C, packed(1))]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§
Source§impl AsBytes for DevExtent
impl AsBytes for DevExtent
Source§fn as_bytes_mut(&mut self) -> &mut [u8]where
Self: FromBytes,
fn as_bytes_mut(&mut self) -> &mut [u8]where
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§fn write_to_prefix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
fn write_to_prefix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
Source§fn write_to_suffix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
fn write_to_suffix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
Source§impl FromBytes for DevExtent
impl FromBytes for DevExtent
impl Unaligned for DevExtent
Auto Trait Implementations§
impl Freeze for DevExtent
impl RefUnwindSafe for DevExtent
impl Send for DevExtent
impl Sync for DevExtent
impl Unpin for DevExtent
impl UnwindSafe for DevExtent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more