pub struct ArchiveFeatures {
pub encrypted: bool,
pub has_main: bool,
pub has_auxiliary: bool,
pub variable_blocks: bool,
pub signature_present: bool,
pub dictionary_present: bool,
}Expand description
Feature flags describing what an archive contains.
Fields§
§encrypted: boolWhether the archive is encrypted.
has_main: boolWhether a main stream is present.
has_auxiliary: boolWhether an auxiliary stream is present.
variable_blocks: boolWhether variable-size blocks are enabled.
signature_present: boolWhether a cryptographic signature is present.
dictionary_present: boolWhether a compression dictionary is present.
Trait Implementations§
Source§impl Debug for ArchiveFeatures
impl Debug for ArchiveFeatures
Source§impl Default for ArchiveFeatures
impl Default for ArchiveFeatures
Source§fn default() -> ArchiveFeatures
fn default() -> ArchiveFeatures
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ArchiveFeatures
impl RefUnwindSafe for ArchiveFeatures
impl Send for ArchiveFeatures
impl Sync for ArchiveFeatures
impl Unpin for ArchiveFeatures
impl UnsafeUnpin for ArchiveFeatures
impl UnwindSafe for ArchiveFeatures
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more