pub struct MemRegion {
cfg: Builder,
mem: MemoryMapping,
}
Expand description
Memory region for ext2 with its config.
Fields§
§cfg: Builder
§mem: MemoryMapping
Implementations§
source§impl MemRegion
impl MemRegion
sourcepub fn build_mmap_info(self) -> Result<MemRegionWithMappingInfo>
pub fn build_mmap_info(self) -> Result<MemRegionWithMappingInfo>
Constructs an ext2 metadata by traversing src_dir
.
Auto Trait Implementations§
impl RefUnwindSafe for MemRegion
impl Send for MemRegion
impl Sync for MemRegion
impl Unpin for MemRegion
impl UnwindSafe for MemRegion
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