pub struct ErofsDataMap {
pub file_blocks: HashMap<PathBuf, (u32, u64)>,
pub total_blocks: u32,
}Expand description
Data layout map returned by write_erofs().
Records where each file’s data blocks were placed in the output image, consumed by the fsmeta writer to build chunk-based inodes.
Fields§
§file_blocks: HashMap<PathBuf, (u32, u64)>For each file path: (start_block, size_bytes) within the output image.
total_blocks: u32Total block count of the output image.
Trait Implementations§
Source§impl Clone for ErofsDataMap
impl Clone for ErofsDataMap
Source§fn clone(&self) -> ErofsDataMap
fn clone(&self) -> ErofsDataMap
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 moreAuto Trait Implementations§
impl Freeze for ErofsDataMap
impl RefUnwindSafe for ErofsDataMap
impl Send for ErofsDataMap
impl Sync for ErofsDataMap
impl Unpin for ErofsDataMap
impl UnsafeUnpin for ErofsDataMap
impl UnwindSafe for ErofsDataMap
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