pub struct LayerApplier<'decoder, 'archive> { /* private fields */ }Expand description
Transactionally decodes, verifies, parses, and applies one OCI layer.
Implementations§
Source§impl<'decoder, 'archive> LayerApplier<'decoder, 'archive>
impl<'decoder, 'archive> LayerApplier<'decoder, 'archive>
pub fn new( decoder: VerifiedDecoder<'decoder>, archive: Archive<'archive>, ) -> Self
pub fn push<S: TransactionalLayerSink>( &mut self, input: &[u8], sink: &mut S, ) -> Result<(), ApplyError<S::Error>>
pub fn finish<S: TransactionalLayerSink>( &mut self, sink: &mut S, ) -> Result<(), ApplyError<S::Error>>
Auto Trait Implementations§
impl<'decoder, 'archive> !UnwindSafe for LayerApplier<'decoder, 'archive>
impl<'decoder, 'archive> Freeze for LayerApplier<'decoder, 'archive>
impl<'decoder, 'archive> RefUnwindSafe for LayerApplier<'decoder, 'archive>
impl<'decoder, 'archive> Send for LayerApplier<'decoder, 'archive>
impl<'decoder, 'archive> Sync for LayerApplier<'decoder, 'archive>
impl<'decoder, 'archive> Unpin for LayerApplier<'decoder, 'archive>
impl<'decoder, 'archive> UnsafeUnpin for LayerApplier<'decoder, 'archive>
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