Struct chd::map::V5CompressedMapEntry
source · pub struct V5CompressedMapEntry<'a>(/* private fields */);
Expand description
A CHD V5 map entry for a compressed hunk.
Implementations§
source§impl V5CompressedMapEntry<'_>
impl V5CompressedMapEntry<'_>
sourcepub fn hunk_type(&self) -> Result<CompressionTypeV5>
pub fn hunk_type(&self) -> Result<CompressionTypeV5>
Returns the hunk type of the compressed entry.
sourcepub fn block_offset(&self) -> Result<u64>
pub fn block_offset(&self) -> Result<u64>
Returns the offset to the compressed data of this hunk.
sourcepub fn block_size(&self) -> Result<u32>
pub fn block_size(&self) -> Result<u32>
Returns the size of the compressed hunk.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for V5CompressedMapEntry<'a>
impl<'a> Send for V5CompressedMapEntry<'a>
impl<'a> Sync for V5CompressedMapEntry<'a>
impl<'a> Unpin for V5CompressedMapEntry<'a>
impl<'a> UnwindSafe for V5CompressedMapEntry<'a>
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