pub enum StreamDecodeError {
}Variants§
InvalidMagic
UnsupportedVersion(u8)
InvalidFrameType(u8)
TrailingBytes(usize)
UnsupportedHttpVersion(u8)
InvalidKind(u8)
InvalidVarint
LengthOverflow
TooManyHeaders(u64)
InvalidMethod
InvalidPath
InvalidHeaderName
InvalidHeaderValue
InvalidStatus
InvalidEndFlags(u8)
Trait Implementations§
Source§impl Debug for StreamDecodeError
impl Debug for StreamDecodeError
Source§impl Display for StreamDecodeError
impl Display for StreamDecodeError
Source§impl Error for StreamDecodeError
impl Error for StreamDecodeError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for StreamDecodeError
impl RefUnwindSafe for StreamDecodeError
impl Send for StreamDecodeError
impl Sync for StreamDecodeError
impl Unpin for StreamDecodeError
impl UnwindSafe for StreamDecodeError
Blanket Implementations§
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