pub enum InboundContextError {
MissingTenant,
ExpiredPrincipal,
EmptyRoutingHint,
RoutingHintTooLarge,
InvalidRoutingHint,
TooManyMetadataFields,
InvalidMetadataName,
MetadataNameTooLarge,
MetadataValueTooLarge,
InvalidMetadataValue,
MetadataTooLarge,
}Expand description
Validation failure for adapter-supplied inbound connection context.
Variants deliberately contain no user-controlled text so formatting an error cannot disclose a routing secret or signaling metadata value.
Variants§
MissingTenant
ExpiredPrincipal
EmptyRoutingHint
RoutingHintTooLarge
InvalidRoutingHint
TooManyMetadataFields
InvalidMetadataName
MetadataNameTooLarge
MetadataValueTooLarge
InvalidMetadataValue
MetadataTooLarge
Trait Implementations§
Source§impl Clone for InboundContextError
impl Clone for InboundContextError
Source§fn clone(&self) -> InboundContextError
fn clone(&self) -> InboundContextError
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 InboundContextError
Source§impl Debug for InboundContextError
impl Debug for InboundContextError
Source§impl Display for InboundContextError
impl Display for InboundContextError
impl Eq for InboundContextError
Source§impl Error for InboundContextError
impl Error for InboundContextError
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 InboundContextError
impl PartialEq for InboundContextError
impl StructuralPartialEq for InboundContextError
Auto Trait Implementations§
impl Freeze for InboundContextError
impl RefUnwindSafe for InboundContextError
impl Send for InboundContextError
impl Sync for InboundContextError
impl Unpin for InboundContextError
impl UnsafeUnpin for InboundContextError
impl UnwindSafe for InboundContextError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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.