Struct ExtendedFileOptions

struct ExtendedFileOptions { ... }

The Extension for Extra Data and Central Extra Data

Implementations

impl ExtendedFileOptions

fn add_extra_data<D: AsRef<[u8]>>(self: &mut Self, header_id: u16, data: D, central_only: bool) -> ZipResult<()>

Adds an extra data field, unless we detect that it's invalid.

impl Clone for ExtendedFileOptions

fn clone(self: &Self) -> ExtendedFileOptions

impl Debug for ExtendedFileOptions

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result<(), std::fmt::Error>

impl Default for ExtendedFileOptions

fn default() -> ExtendedFileOptions

impl Eq for ExtendedFileOptions

impl Freeze for ExtendedFileOptions

impl PartialEq for ExtendedFileOptions

fn eq(self: &Self, other: &ExtendedFileOptions) -> bool

impl RefUnwindSafe for ExtendedFileOptions

impl Send for ExtendedFileOptions

impl StructuralPartialEq for ExtendedFileOptions

impl Sync for ExtendedFileOptions

impl Unpin for ExtendedFileOptions

impl UnwindSafe for ExtendedFileOptions

impl<Q, K> Equivalent for ExtendedFileOptions

fn equivalent(self: &Self, key: &K) -> bool

impl<Q, K> Equivalent for ExtendedFileOptions

fn equivalent(self: &Self, key: &K) -> bool

impl<T> Any for ExtendedFileOptions

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ExtendedFileOptions

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

impl<T> BorrowMut for ExtendedFileOptions

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

impl<T> CloneToUninit for ExtendedFileOptions

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for ExtendedFileOptions

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Same for ExtendedFileOptions

impl<T> ToOwned for ExtendedFileOptions

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for ExtendedFileOptions

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 ExtendedFileOptions

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

impl<T, U> TryInto for ExtendedFileOptions

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