pub struct Tar<R: Read> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<R: Read> Archive for Tar<R>
impl<R: Read> Archive for Tar<R>
fn contains(&mut self, file: String) -> Result<bool, ArchiverError>
fn extract(&mut self, destination: &Path) -> Result<(), ArchiverError>
fn extract_single( &mut self, target: &Path, file: String, ) -> Result<(), ArchiverError>
fn files(&mut self) -> Result<Vec<String>, ArchiverError>
fn walk( &mut self, f: Box<dyn Fn(String) -> Option<String>>, ) -> Result<(), ArchiverError>
Auto Trait Implementations§
impl<R> !Freeze for Tar<R>
impl<R> !RefUnwindSafe for Tar<R>
impl<R> Send for Tar<R>where
R: Send,
impl<R> !Sync for Tar<R>
impl<R> Unpin for Tar<R>where
R: Unpin,
impl<R> UnwindSafe for Tar<R>where
R: UnwindSafe,
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