pub enum RegionKind {
FileHeader,
TableBlockHeader {
block_index: usize,
},
EntryArray {
block_index: usize,
entry_count: u8,
},
PartitionData {
uid: [u8; 16],
partition_type: u32,
used: u64,
max: u64,
},
Slack {
uid: [u8; 16],
},
Gap,
}Expand description
What a physical byte range is.
Variants§
FileHeader
TableBlockHeader
EntryArray
PartitionData
Slack
Reserved-but-unused tail of a partition (max_length - used_bytes).
Gap
Dead space covered by no declared region.
Implementations§
Trait Implementations§
Source§impl Clone for RegionKind
impl Clone for RegionKind
Source§fn clone(&self) -> RegionKind
fn clone(&self) -> RegionKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegionKind
impl Debug for RegionKind
impl Eq for RegionKind
Source§impl PartialEq for RegionKind
impl PartialEq for RegionKind
Source§fn eq(&self, other: &RegionKind) -> bool
fn eq(&self, other: &RegionKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RegionKind
Auto Trait Implementations§
impl Freeze for RegionKind
impl RefUnwindSafe for RegionKind
impl Send for RegionKind
impl Sync for RegionKind
impl Unpin for RegionKind
impl UnsafeUnpin for RegionKind
impl UnwindSafe for RegionKind
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