pub enum ZipDecodedData<'a> {
FileHeader(&'a CentralDirectoryFileHeader, &'a LocalFileHeader),
FileData(&'a [u8]),
}Expand description
A chunk of decoded ZIP data
Variants§
FileHeader(&'a CentralDirectoryFileHeader, &'a LocalFileHeader)
The ZIP file headers for a file
FileData(&'a [u8])
Decoded (uncompressed or decompressed) file bytes
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ZipDecodedData<'a>
impl<'a> RefUnwindSafe for ZipDecodedData<'a>
impl<'a> Send for ZipDecodedData<'a>
impl<'a> Sync for ZipDecodedData<'a>
impl<'a> Unpin for ZipDecodedData<'a>
impl<'a> UnwindSafe for ZipDecodedData<'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