pub struct ChunkInfo {
pub partition_uuid: [u8; 16],
pub start_lba: u64,
pub end_lba: u64,
pub data_size: u64,
pub index: u8,
pub written: bool,
}Expand description
Information about a single chunk partition
Fields§
§partition_uuid: [u8; 16]Partition UUID (16 bytes, from GPT)
start_lba: u64Start LBA of the partition
end_lba: u64End LBA of the partition
data_size: u64Size of data stored in this chunk (bytes)
index: u8Chunk index (0-based)
written: boolWhether this chunk has been written
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChunkInfo
impl RefUnwindSafe for ChunkInfo
impl Send for ChunkInfo
impl Sync for ChunkInfo
impl Unpin for ChunkInfo
impl UnwindSafe for ChunkInfo
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