pub struct ZipEntry { /* private fields */ }
Implementations§
Source§impl ZipEntry
impl ZipEntry
pub fn new(header: LocalFileHeader) -> Self
pub fn name(&self) -> &str
pub fn compressed_data(&self) -> &BytesMut
pub fn header(&self) -> &LocalFileHeader
pub fn inflate(self) -> Result<DeflatedEntry, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ZipEntry
impl RefUnwindSafe for ZipEntry
impl Send for ZipEntry
impl Sync for ZipEntry
impl Unpin for ZipEntry
impl UnwindSafe for ZipEntry
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