#[repr(u32)]pub enum BlockType {
ZeroFill = 0,
Raw = 1,
Ignore = 2,
Adc = 2_147_483_652,
Zlib = 2_147_483_653,
Bzip2 = 2_147_483_654,
Lzfse = 2_147_483_655,
Xz = 2_147_483_656,
Comment = 2_147_483_646,
End = 4_294_967_295,
}Expand description
Block chunk types
Variants§
ZeroFill = 0
Zero-filled block (no data stored)
Raw = 1
Raw/uncompressed data
Ignore = 2
Ignore/skip block
Adc = 2_147_483_652
ADC compressed (legacy)
Zlib = 2_147_483_653
Zlib compressed
Bzip2 = 2_147_483_654
Bzip2 compressed
Lzfse = 2_147_483_655
LZFSE compressed
Xz = 2_147_483_656
XZ (LZMA) compressed
Comment = 2_147_483_646
Comment block (no data)
End = 4_294_967_295
End of partition marker
Trait Implementations§
impl Copy for BlockType
impl Eq for BlockType
impl StructuralPartialEq for BlockType
Auto Trait Implementations§
impl Freeze for BlockType
impl RefUnwindSafe for BlockType
impl Send for BlockType
impl Sync for BlockType
impl Unpin for BlockType
impl UnsafeUnpin for BlockType
impl UnwindSafe for BlockType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.