Enum ntex_h2::server::ServerError
source · pub enum ServerError<E> {
Service(E),
Frame(FrameError),
Dispatcher,
ControlServiceError,
PublishServiceError,
HandshakeTimeout,
Disconnected(Option<Error>),
}
Expand description
Errors which can occur when attempting to handle amqp connection.
Variants§
Service(E)
Request handler error
Frame(FrameError)
Http/2 frame codec error
Dispatcher
Dispatcher error
ControlServiceError
Control service init error
PublishServiceError
Publish service init error
HandshakeTimeout
Handshake timeout
Disconnected(Option<Error>)
Peer disconnect
Trait Implementations§
source§impl<E: Debug> Debug for ServerError<E>
impl<E: Debug> Debug for ServerError<E>
source§impl<E> Display for ServerError<E>
impl<E> Display for ServerError<E>
source§impl<E> Error for ServerError<E>where
Self: Debug + Display,
impl<E> Error for ServerError<E>where
Self: Debug + Display,
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()
source§impl<E> From<Error> for ServerError<E>
impl<E> From<Error> for ServerError<E>
source§impl<E> From<FrameError> for ServerError<E>
impl<E> From<FrameError> for ServerError<E>
source§fn from(source: FrameError) -> Self
fn from(source: FrameError) -> Self
Converts to this type from the input type.