#[non_exhaustive]pub enum EndRecordRefusal {
Missing,
TooMany,
}Expand description
Why an archive’s end records were refused before opening it.
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.
Missing
The reader would accept no end record.
TooMany
The archive holds more than max_end_records end records.
Trait Implementations§
Source§impl Debug for EndRecordRefusal
impl Debug for EndRecordRefusal
impl Eq for EndRecordRefusal
Source§impl PartialEq for EndRecordRefusal
impl PartialEq for EndRecordRefusal
impl StructuralPartialEq for EndRecordRefusal
Auto Trait Implementations§
impl Freeze for EndRecordRefusal
impl RefUnwindSafe for EndRecordRefusal
impl Send for EndRecordRefusal
impl Sync for EndRecordRefusal
impl Unpin for EndRecordRefusal
impl UnsafeUnpin for EndRecordRefusal
impl UnwindSafe for EndRecordRefusal
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.