Expand description
Handler for oci-archive format
oci-archive consists of several manifests i.e. several container.
Implementations
sourceimpl<'buf, W: Read + Seek> Archive<'buf, W>
impl<'buf, W: Read + Seek> Archive<'buf, W>
pub fn new(buf: &'buf mut W) -> Self
pub fn entries(&mut self) -> Result<Entries<'_, &'buf mut W>>
pub fn get_manifests(&mut self) -> Result<Vec<(ImageName, ImageManifest)>>
pub fn get_index(&mut self) -> Result<ImageIndex>
pub fn get_blob(&mut self, digest: &Digest) -> Result<Entry<'_, &'buf mut W>>
pub fn get_manifest(&mut self, digest: &Digest) -> Result<ImageManifest>
pub fn get_config(&mut self, digest: &Digest) -> Result<ImageConfiguration>
pub fn unpack_layer(&mut self, layer: &Descriptor, dest: &Path) -> Result<()>
Auto Trait Implementations
impl<'buf, W> !RefUnwindSafe for Archive<'buf, W>
impl<'buf, W> Send for Archive<'buf, W> where
W: Send,
impl<'buf, W> !Sync for Archive<'buf, W>
impl<'buf, W> Unpin for Archive<'buf, W>
impl<'buf, W> !UnwindSafe for Archive<'buf, W>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more