pub enum InvocationContextError {
EmptyExtensionKey,
ExtensionAlreadySet {
key: String,
},
SealedExtensionAlreadySet {
key: String,
},
InvalidSealedExtension {
key: String,
},
}Expand description
Failure returned when an Invocation Context extension cannot be attached.
Variants§
EmptyExtensionKey
An extension key cannot be empty.
ExtensionAlreadySet
An ordinary extension already occupies the requested key.
SealedExtensionAlreadySet
A sealed extension cannot be replaced by another extension value.
InvalidSealedExtension
Sealed provenance must name an issuer and at least one audience entry.
Trait Implementations§
Source§impl Clone for InvocationContextError
impl Clone for InvocationContextError
Source§fn clone(&self) -> InvocationContextError
fn clone(&self) -> InvocationContextError
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 InvocationContextError
impl Debug for InvocationContextError
Source§impl Display for InvocationContextError
impl Display for InvocationContextError
impl Eq for InvocationContextError
Source§impl PartialEq for InvocationContextError
impl PartialEq for InvocationContextError
impl StructuralPartialEq for InvocationContextError
Auto Trait Implementations§
impl Freeze for InvocationContextError
impl RefUnwindSafe for InvocationContextError
impl Send for InvocationContextError
impl Sync for InvocationContextError
impl Unpin for InvocationContextError
impl UnsafeUnpin for InvocationContextError
impl UnwindSafe for InvocationContextError
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