pub struct LocalFile<'a, S: Read, const N: usize> {
pub info: LocalFileInfo<N>,
/* private fields */
}
Expand description
File instance in the zip pack. You can get it by iterating over the Parser
.
Fields§
§info: LocalFileInfo<N>
Implementations§
Source§impl<'a, S: Read, const N: usize> LocalFile<'a, S, N>
impl<'a, S: Read, const N: usize> LocalFile<'a, S, N>
pub fn with_compression_method(self, method: CompressMethod) -> Self
pub fn with_compressed_size(self, size: u64) -> Self
pub fn with_uncompressed_size(self, size: u64) -> Self
pub fn with_stream(self, stream: &mut S) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'a, S, const N: usize> Freeze for LocalFile<'a, S, N>
impl<'a, S, const N: usize> RefUnwindSafe for LocalFile<'a, S, N>where
S: RefUnwindSafe,
impl<'a, S, const N: usize> !Send for LocalFile<'a, S, N>
impl<'a, S, const N: usize> !Sync for LocalFile<'a, S, N>
impl<'a, S, const N: usize> Unpin for LocalFile<'a, S, N>
impl<'a, S, const N: usize> !UnwindSafe for LocalFile<'a, S, N>
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