Enum ntex_h2::StreamError
source · pub enum StreamError {
Idle(&'static str),
Closed,
WindowOverflowed,
WindowZeroUpdateValue,
TrailersWithoutEos,
InvalidContentLength,
WrongPayloadLength,
NonEmptyPayload,
Reset(Reason),
}Variants§
Idle(&'static str)
Closed
WindowOverflowed
WindowZeroUpdateValue
TrailersWithoutEos
InvalidContentLength
WrongPayloadLength
NonEmptyPayload
Reset(Reason)
Trait Implementations§
source§impl Clone for StreamError
impl Clone for StreamError
source§fn clone(&self) -> StreamError
fn clone(&self) -> StreamError
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 StreamError
impl Debug for StreamError
source§impl Display for StreamError
impl Display for StreamError
source§impl Error for StreamError
impl Error for StreamError
1.30.0 · 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<StreamError> for OperationError
impl From<StreamError> for OperationError
source§fn from(source: StreamError) -> Self
fn from(source: StreamError) -> Self
Converts to this type from the input type.
source§impl PartialEq<StreamError> for StreamError
impl PartialEq<StreamError> for StreamError
source§fn eq(&self, other: &StreamError) -> bool
fn eq(&self, other: &StreamError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.