#[non_exhaustive]pub enum ArchiveMemberDetail {
#[non_exhaustive] Rar13 {
method: u8,
unpack_version: u8,
file_checksum: u16,
has_file_comment: bool,
},
#[non_exhaustive] Rar15To40 {
method: u8,
unpack_version: u8,
crc32: u32,
solid: bool,
salt: Option<[u8; 8]>,
has_file_comment: bool,
},
#[non_exhaustive] Rar50Plus {
compression_info: u64,
crc32: Option<u32>,
hash: Option<ArchiveMemberHash>,
},
}Expand description
Family-specific member metadata.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
#[non_exhaustive]Rar13
RAR 1.3/1.4 member fields.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
#[non_exhaustive]Rar15To40
RAR 1.5 through RAR 4.x member fields.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
#[non_exhaustive]Rar50Plus
RAR 5.0 and later member fields.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
hash: Option<ArchiveMemberHash>Strong file hash when present.
Trait Implementations§
Source§impl Clone for ArchiveMemberDetail
impl Clone for ArchiveMemberDetail
Source§fn clone(&self) -> ArchiveMemberDetail
fn clone(&self) -> ArchiveMemberDetail
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArchiveMemberDetail
impl Debug for ArchiveMemberDetail
impl Eq for ArchiveMemberDetail
Source§impl PartialEq for ArchiveMemberDetail
impl PartialEq for ArchiveMemberDetail
impl StructuralPartialEq for ArchiveMemberDetail
Auto Trait Implementations§
impl Freeze for ArchiveMemberDetail
impl RefUnwindSafe for ArchiveMemberDetail
impl Send for ArchiveMemberDetail
impl Sync for ArchiveMemberDetail
impl Unpin for ArchiveMemberDetail
impl UnsafeUnpin for ArchiveMemberDetail
impl UnwindSafe for ArchiveMemberDetail
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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