#[non_exhaustive]pub enum ArchiveContents {
Stream(DynSource),
Members(Vec<Member>),
}Expand description
What an crate::registry::ArchiveOpen::open peel produces.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Stream(DynSource)
A bare compression wrapper (gzip/bzip2): the single decoded stream. It
re-enters resolution just like a decoded container — E01.gz → E01 → ….
Members(Vec<Member>)
A multi-member archive (tar/zip/7z): the member table. A member that is
itself evidence (an E01 inside a .zip) re-enters resolution on its own
Member::source.
Auto Trait Implementations§
impl !RefUnwindSafe for ArchiveContents
impl !UnwindSafe for ArchiveContents
impl Freeze for ArchiveContents
impl Send for ArchiveContents
impl Sync for ArchiveContents
impl Unpin for ArchiveContents
impl UnsafeUnpin for ArchiveContents
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