pub struct ZipStreamReader<R>(/* private fields */);Expand description
Stream decoder for zip.
Implementations§
Source§impl<R> ZipStreamReader<R>
impl<R> ZipStreamReader<R>
Sourcepub const fn new(reader: R) -> ZipStreamReader<R>
pub const fn new(reader: R) -> ZipStreamReader<R>
Create a new ZipStreamReader
Source§impl<R> ZipStreamReader<R>where
R: Read,
impl<R> ZipStreamReader<R>where
R: Read,
Sourcepub fn visit<V>(self, visitor: &mut V) -> Result<(), ZipError>where
V: ZipStreamVisitor,
pub fn visit<V>(self, visitor: &mut V) -> Result<(), ZipError>where
V: ZipStreamVisitor,
Iterate over the stream and extract all file and their metadata.
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for ZipStreamReader<R>where
R: Freeze,
impl<R> RefUnwindSafe for ZipStreamReader<R>where
R: RefUnwindSafe,
impl<R> Send for ZipStreamReader<R>where
R: Send,
impl<R> Sync for ZipStreamReader<R>where
R: Sync,
impl<R> Unpin for ZipStreamReader<R>where
R: Unpin,
impl<R> UnwindSafe for ZipStreamReader<R>where
R: 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