Struct ZipReadOptions
pub struct ZipReadOptions<'a> { /* private fields */ }
Options for reading a file from an archive.
Implementations
impl<'a> ZipReadOptions<'a>
fn new() -> SelfCreate a new set of options with the default values.
fn password(self, password: Option<&'a [u8]>) -> SelfSet the password, if any, to use. Return for chaining.
fn ignore_encryption_flag(self, ignore: bool) -> SelfSet the ignore encryption flag. Return for chaining.
fn ignore_crc32(self, should_ignore: bool) -> SelfIgnore the CRC32 of the file
Trait Implementations
impl<'a> Default for ZipReadOptions<'a>
fn default() -> ZipReadOptions<'a>
Auto Trait Implementations
impl<'a> Freeze for ZipReadOptions<'a>
impl<'a> RefUnwindSafe for ZipReadOptions<'a>
impl<'a> Send for ZipReadOptions<'a>
impl<'a> Sync for ZipReadOptions<'a>
impl<'a> Unpin for ZipReadOptions<'a>
impl<'a> UnsafeUnpin for ZipReadOptions<'a>
impl<'a> UnwindSafe for ZipReadOptions<'a>
Blanket Implementations
impl<T> Any for ZipReadOptions<'a>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for ZipReadOptions<'a>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for ZipReadOptions<'a>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for ZipReadOptions<'a>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Same for ZipReadOptions<'a>
type Output = T;
impl<T, U> Into<U> for ZipReadOptions<'a>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for ZipReadOptions<'a>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for ZipReadOptions<'a>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>