Enum bc_envelope::base::error::EnvelopeError
source · pub enum EnvelopeError {
Show 22 variants
AlreadyElided,
AmbiguousPredicate,
InvalidDigest,
InvalidFormat,
MissingDigest,
NonexistentPredicate,
NotWrapped,
NotLeaf,
NotAssertion,
InvalidAttachment,
NonexistentAttachment,
AmbiguousAttachment,
AlreadyCompressed,
NotCompressed,
AlreadyEncrypted,
NotEncrypted,
NotKnownValue,
InvalidRecipient,
UnverifiedSignature,
InvalidShares,
InvalidType,
AmbiguousType,
}Expand description
Error returned when handling envelopes.
Variants§
AlreadyElided
AmbiguousPredicate
InvalidDigest
InvalidFormat
MissingDigest
NonexistentPredicate
NotWrapped
NotLeaf
NotAssertion
InvalidAttachment
NonexistentAttachment
AmbiguousAttachment
AlreadyCompressed
NotCompressed
AlreadyEncrypted
NotEncrypted
NotKnownValue
InvalidRecipient
UnverifiedSignature
InvalidType
AmbiguousType
Trait Implementations§
source§impl Debug for EnvelopeError
impl Debug for EnvelopeError
source§impl Display for EnvelopeError
impl Display for EnvelopeError
source§impl Error for EnvelopeError
impl Error for EnvelopeError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl RefUnwindSafe for EnvelopeError
impl Send for EnvelopeError
impl Sync for EnvelopeError
impl Unpin for EnvelopeError
impl UnwindSafe for EnvelopeError
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