pub struct ApfsHandle { /* private fields */ }Expand description
Handle to an opened APFS volume. Type-erased over the underlying reader (temp file vs in-memory).
Implementations§
Source§impl ApfsHandle
impl ApfsHandle
Sourcepub fn read_file_to<W: Write>(
&mut self,
path: &str,
writer: &mut W,
) -> Result<u64>
pub fn read_file_to<W: Write>( &mut self, path: &str, writer: &mut W, ) -> Result<u64>
Stream a file to a writer (low memory)
Sourcepub fn volume_info(&self) -> &VolumeInfo
pub fn volume_info(&self) -> &VolumeInfo
Get volume information
Auto Trait Implementations§
impl Freeze for ApfsHandle
impl RefUnwindSafe for ApfsHandle
impl Send for ApfsHandle
impl Sync for ApfsHandle
impl Unpin for ApfsHandle
impl UnwindSafe for ApfsHandle
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