Struct zip_rs::ZipArchive
source · pub struct ZipArchive<'a, B: Deref<Target = [u8]>> {
pub central_directory: CentralDirectory<'a>,
/* private fields */
}Expand description
An entire ZIP archive file
Fields§
§central_directory: CentralDirectory<'a>Implementations§
source§impl<'a> ZipArchive<'a, Mmap>
impl<'a> ZipArchive<'a, Mmap>
source§impl<'a, B: Deref<Target = [u8]>> ZipArchive<'a, B>
impl<'a, B: Deref<Target = [u8]>> ZipArchive<'a, B>
pub fn from_buffer(buffer: B) -> Result<Self, ZipParseError>
pub fn files<'b>( &'b mut self ) -> impl Iterator<Item = Result<CompressedZipFile<'a>, ZipParseError>> + 'b
Trait Implementations§
Auto Trait Implementations§
impl<'a, B> RefUnwindSafe for ZipArchive<'a, B>where B: RefUnwindSafe,
impl<'a, B> Send for ZipArchive<'a, B>where B: Send,
impl<'a, B> Sync for ZipArchive<'a, B>where B: Sync,
impl<'a, B> Unpin for ZipArchive<'a, B>where B: Unpin,
impl<'a, B> UnwindSafe for ZipArchive<'a, B>where B: 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