pub enum MrfEnvelopeError {
Truncated,
InvalidMagic,
UnsupportedFormat {
format: u16,
},
UnsupportedVersion {
version: u16,
},
InvalidVersionRange {
version: u16,
min_reader_version: u16,
},
RollbackFenced {
min_reader_version: u16,
supported_version: u16,
},
ReservedHeaderBits {
bits: u16,
},
UnknownCapabilities {
bits: u64,
},
MissingCapabilities {
required: u64,
available: u64,
},
PayloadLengthMismatch {
declared: u32,
actual: usize,
},
PayloadTooLarge,
}Variants§
Truncated
InvalidMagic
UnsupportedFormat
UnsupportedVersion
InvalidVersionRange
RollbackFenced
ReservedHeaderBits
UnknownCapabilities
MissingCapabilities
PayloadLengthMismatch
PayloadTooLarge
Trait Implementations§
Source§impl Clone for MrfEnvelopeError
impl Clone for MrfEnvelopeError
Source§fn clone(&self) -> MrfEnvelopeError
fn clone(&self) -> MrfEnvelopeError
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 MrfEnvelopeError
impl Debug for MrfEnvelopeError
Source§impl Display for MrfEnvelopeError
impl Display for MrfEnvelopeError
impl Eq for MrfEnvelopeError
Source§impl Error for MrfEnvelopeError
impl Error for MrfEnvelopeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for MrfEnvelopeError
impl PartialEq for MrfEnvelopeError
impl StructuralPartialEq for MrfEnvelopeError
Auto Trait Implementations§
impl Freeze for MrfEnvelopeError
impl RefUnwindSafe for MrfEnvelopeError
impl Send for MrfEnvelopeError
impl Sync for MrfEnvelopeError
impl Unpin for MrfEnvelopeError
impl UnsafeUnpin for MrfEnvelopeError
impl UnwindSafe for MrfEnvelopeError
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.