pub enum OpaqueEnvelopeDecision {
Accepted,
UnsupportedSchema,
UnsupportedEnvelopeVersion,
Expired,
PayloadTooLarge,
UnsupportedCapability,
Duplicate,
InvalidEnvelope,
}Expand description
Result of opaque transport validation.
Variants§
Accepted
The envelope may be routed or consumed.
UnsupportedSchema
The transport schema is unknown.
UnsupportedEnvelopeVersion
The opaque content-envelope version is not accepted.
Expired
The envelope is expired.
PayloadTooLarge
The opaque bytes exceed policy.
UnsupportedCapability
No compatible consumer capability is available.
Duplicate
The message ID was already observed.
InvalidEnvelope
Required transport metadata is malformed.
Trait Implementations§
Source§impl Clone for OpaqueEnvelopeDecision
impl Clone for OpaqueEnvelopeDecision
Source§fn clone(&self) -> OpaqueEnvelopeDecision
fn clone(&self) -> OpaqueEnvelopeDecision
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 moreimpl Copy for OpaqueEnvelopeDecision
Source§impl Debug for OpaqueEnvelopeDecision
impl Debug for OpaqueEnvelopeDecision
impl Eq for OpaqueEnvelopeDecision
Source§impl PartialEq for OpaqueEnvelopeDecision
impl PartialEq for OpaqueEnvelopeDecision
impl StructuralPartialEq for OpaqueEnvelopeDecision
Auto Trait Implementations§
impl Freeze for OpaqueEnvelopeDecision
impl RefUnwindSafe for OpaqueEnvelopeDecision
impl Send for OpaqueEnvelopeDecision
impl Sync for OpaqueEnvelopeDecision
impl Unpin for OpaqueEnvelopeDecision
impl UnsafeUnpin for OpaqueEnvelopeDecision
impl UnwindSafe for OpaqueEnvelopeDecision
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