Enum ntex_h2::ConnectionError
source · pub enum ConnectionError {
GoAway(Reason),
UnknownStream(&'static str),
Encoder(EncoderError),
Decoder(FrameError),
StreamClosed(StreamId),
InvalidStreamId,
UnexpectedSettingsAck,
MissingPseudo(&'static str),
UnexpectedPseudo(&'static str),
ZeroWindowUpdateValue,
WindowValueOverflow,
KeepaliveTimeout,
}Variants§
GoAway(Reason)
UnknownStream(&'static str)
Encoder(EncoderError)
Decoder(FrameError)
StreamClosed(StreamId)
InvalidStreamId
An invalid stream identifier was provided
UnexpectedSettingsAck
MissingPseudo(&'static str)
Missing pseudo header
UnexpectedPseudo(&'static str)
Missing pseudo header
ZeroWindowUpdateValue
Window update value is zero
WindowValueOverflow
KeepaliveTimeout
Keep-alive timeout
Implementations§
Trait Implementations§
source§impl Clone for ConnectionError
impl Clone for ConnectionError
source§fn clone(&self) -> ConnectionError
fn clone(&self) -> ConnectionError
Returns a copy of the value. Read more
1.0.0 · 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 ConnectionError
impl Debug for ConnectionError
source§impl Display for ConnectionError
impl Display for ConnectionError
source§impl Error for ConnectionError
impl Error for ConnectionError
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 From<ConnectionError> for ClientError
impl From<ConnectionError> for ClientError
source§fn from(err: ConnectionError) -> Self
fn from(err: ConnectionError) -> Self
Converts to this type from the input type.
source§impl From<ConnectionError> for OperationError
impl From<ConnectionError> for OperationError
source§fn from(source: ConnectionError) -> Self
fn from(source: ConnectionError) -> Self
Converts to this type from the input type.
source§impl From<EncoderError> for ConnectionError
impl From<EncoderError> for ConnectionError
source§fn from(source: EncoderError) -> Self
fn from(source: EncoderError) -> Self
Converts to this type from the input type.
source§impl From<FrameError> for ConnectionError
impl From<FrameError> for ConnectionError
source§fn from(source: FrameError) -> Self
fn from(source: FrameError) -> Self
Converts to this type from the input type.
source§impl PartialEq<ConnectionError> for ConnectionError
impl PartialEq<ConnectionError> for ConnectionError
source§fn eq(&self, other: &ConnectionError) -> bool
fn eq(&self, other: &ConnectionError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.