pub struct Archive<'a> { /* private fields */ }Expand description
Allocation-free streaming tar/PAX layer parser.
Implementations§
Source§impl<'a> Archive<'a>
impl<'a> Archive<'a>
pub fn new(buffers: ArchiveBuffers<'a>) -> Self
pub fn push<S: LayerEventSink>( &mut self, input: &[u8], sink: &mut S, ) -> Result<(), ArchiveError<S::Error>>
pub fn finish(&self) -> Result<(), ArchiveFinishError>
Auto Trait Implementations§
impl<'a> !UnwindSafe for Archive<'a>
impl<'a> Freeze for Archive<'a>
impl<'a> RefUnwindSafe for Archive<'a>
impl<'a> Send for Archive<'a>
impl<'a> Sync for Archive<'a>
impl<'a> Unpin for Archive<'a>
impl<'a> UnsafeUnpin for Archive<'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