#[non_exhaustive]pub enum HiddenRegion {
Prefix,
Gap,
DescriptorTail,
}Expand description
Part of a ZIP file in which an unmapped local header was found.
§Examples
use exarch_core::HiddenRegion;
assert_eq!(HiddenRegion::Prefix.to_string(), "before the archive start");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.
Prefix
Bytes before the archive start, such as a self-extractor stub
Gap
Bytes between entries or before the central directory
DescriptorTail
Bytes behind the end of the compressed stream of a data-descriptor entry, inside the range its central directory record declares
Implementations§
Trait Implementations§
Source§impl Clone for HiddenRegion
impl Clone for HiddenRegion
impl Copy for HiddenRegion
Source§impl Debug for HiddenRegion
impl Debug for HiddenRegion
Source§impl Display for HiddenRegion
impl Display for HiddenRegion
impl Eq for HiddenRegion
Source§impl PartialEq for HiddenRegion
impl PartialEq for HiddenRegion
impl StructuralPartialEq for HiddenRegion
Auto Trait Implementations§
impl Freeze for HiddenRegion
impl RefUnwindSafe for HiddenRegion
impl Send for HiddenRegion
impl Sync for HiddenRegion
impl Unpin for HiddenRegion
impl UnsafeUnpin for HiddenRegion
impl UnwindSafe for HiddenRegion
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.