Enum ntex_h2::frame::FrameContinuationError
source · pub enum FrameContinuationError {
Expected,
Unexpected,
UnknownStreamId,
MaxLeftoverSize,
Malformed,
}Variants§
Expected
Continuation frame is expected
Unexpected
Continuation frame is unexpected
UnknownStreamId
Continuation frame’s stream id is unexpected
MaxLeftoverSize
Max left over size
Malformed
Malformed frame
Trait Implementations§
source§impl Clone for FrameContinuationError
impl Clone for FrameContinuationError
source§fn clone(&self) -> FrameContinuationError
fn clone(&self) -> FrameContinuationError
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 FrameContinuationError
impl Debug for FrameContinuationError
source§impl Display for FrameContinuationError
impl Display for FrameContinuationError
source§impl Error for FrameContinuationError
impl Error for FrameContinuationError
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<FrameContinuationError> for FrameError
impl From<FrameContinuationError> for FrameError
source§fn from(source: FrameContinuationError) -> Self
fn from(source: FrameContinuationError) -> Self
Converts to this type from the input type.
source§impl PartialEq<FrameContinuationError> for FrameContinuationError
impl PartialEq<FrameContinuationError> for FrameContinuationError
source§fn eq(&self, other: &FrameContinuationError) -> bool
fn eq(&self, other: &FrameContinuationError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.