pub enum DataPathError {
Show 29 variants
ConnectionError,
DisconnectionError(u64),
GrpcError(Status),
NegotiationError(String),
UnknownMsgType,
InvalidMessage(MessageError),
InvalidNameIdFormat(String),
InvalidNameFormat(String),
NoMatchEncoded(u64, u64, u64, String),
SubscriptionNotFound(ProtoName),
SubscriptionIdNotFound(u64),
IdNotFound(String),
ConnectionNotFound(u64),
ConnectionIdNotFound(u64),
MalformedMessage(MessageError),
ProcessingError(MessageError),
ConnectionSendError,
ConnectionTableAddError,
MessageProcessingError {
source: Box<DataPathError>,
msg: Box<Message>,
},
ConfigurationError(ConfigError),
RemoteSubscriptionAckTimeout(u32),
RemoteSubscriptionAckError(String),
AlreadyClosedError,
ShuttingDownError,
ShutdownTimeoutError,
HeaderIntegrity(HeaderMacError),
HeaderMacAwaitingLinkNegotiation(u64),
LinkKeyGeneration,
TtlExpired,
}Expand description
DataPath and subscription table errors merged into a single enum.
Variants§
ConnectionError
DisconnectionError(u64)
GrpcError(Status)
NegotiationError(String)
UnknownMsgType
InvalidMessage(MessageError)
InvalidNameIdFormat(String)
InvalidNameFormat(String)
NoMatchEncoded(u64, u64, u64, String)
SubscriptionNotFound(ProtoName)
SubscriptionIdNotFound(u64)
IdNotFound(String)
ConnectionNotFound(u64)
ConnectionIdNotFound(u64)
MalformedMessage(MessageError)
ProcessingError(MessageError)
ConnectionSendError
ConnectionTableAddError
MessageProcessingError
ConfigurationError(ConfigError)
RemoteSubscriptionAckTimeout(u32)
RemoteSubscriptionAckError(String)
AlreadyClosedError
ShuttingDownError
ShutdownTimeoutError
HeaderIntegrity(HeaderMacError)
HeaderMacAwaitingLinkNegotiation(u64)
LinkKeyGeneration
TtlExpired
Trait Implementations§
Source§impl Debug for DataPathError
impl Debug for DataPathError
Source§impl Display for DataPathError
impl Display for DataPathError
Source§impl Error for DataPathError
impl Error for DataPathError
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 From<ConfigError> for DataPathError
impl From<ConfigError> for DataPathError
Source§fn from(source: ConfigError) -> Self
fn from(source: ConfigError) -> Self
Converts to this type from the input type.
Source§impl From<MessageError> for DataPathError
impl From<MessageError> for DataPathError
Source§fn from(source: MessageError) -> Self
fn from(source: MessageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DataPathError
impl !UnwindSafe for DataPathError
impl Freeze for DataPathError
impl Send for DataPathError
impl Sync for DataPathError
impl Unpin for DataPathError
impl UnsafeUnpin for DataPathError
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<E> ErrorChainExt for Ewhere
E: Error,
impl<E> ErrorChainExt for Ewhere
E: Error,
Source§fn chain(&self) -> DisplayErrorChain<&E>
fn chain(&self) -> DisplayErrorChain<&E>
Provides an fmt::Display implementation for an error as a chain.
Source§fn into_chain(self) -> DisplayErrorChain<E>where
E: Sized,
fn into_chain(self) -> DisplayErrorChain<E>where
E: Sized,
Same as
chain, but consumes self.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request