pub struct PfsFileImage<'a> { /* private fields */ }Expand description
A file within a PFS, exposed as an Image for chaining.
This adapter maps logical file offsets through the inode’s precomputed block
map to physical offsets in the underlying PFS image. It is used to open
nested PFS images (e.g. pfs_image.dat inside an outer PFS), optionally
wrapped in PfscImage for decompression.
Created via File::into_image().
Trait Implementations§
Source§impl<'a> Clone for PfsFileImage<'a>
impl<'a> Clone for PfsFileImage<'a>
Source§fn clone(&self) -> PfsFileImage<'a>
fn clone(&self) -> PfsFileImage<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for PfsFileImage<'a>
impl<'a> Debug for PfsFileImage<'a>
Auto Trait Implementations§
impl<'a> Freeze for PfsFileImage<'a>
impl<'a> !RefUnwindSafe for PfsFileImage<'a>
impl<'a> Send for PfsFileImage<'a>
impl<'a> Sync for PfsFileImage<'a>
impl<'a> Unpin for PfsFileImage<'a>
impl<'a> !UnwindSafe for PfsFileImage<'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