Struct ZipReadOptions

struct ZipReadOptions<'a> { ... }

Options for reading a file from an archive.

Implementations

impl<'a> ZipReadOptions<'a>

fn new() -> Self

Create a new set of options with the default values.

fn password(self: Self, password: Option<&'a [u8]>) -> Self

Set the password, if any, to use. Return for chaining.

fn ignore_encryption_flag(self: Self, ignore: bool) -> Self

Set the ignore encryption flag. Return for chaining.

impl<'a> Default for ZipReadOptions<'a>

fn default() -> ZipReadOptions<'a>

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> UnwindSafe for ZipReadOptions<'a>

impl<T> Any for ZipReadOptions<'a>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ZipReadOptions<'a>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ZipReadOptions<'a>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for ZipReadOptions<'a>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Same for ZipReadOptions<'a>

impl<T, U> Into for ZipReadOptions<'a>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for ZipReadOptions<'a>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for ZipReadOptions<'a>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>