Enum monoio_http::h1::codec::decoder::DecodeError
source · [−]pub enum DecodeError {
Parse(Error),
Method(InvalidMethod),
Uri(InvalidUri),
Status(InvalidStatusCode),
Header,
Chunked,
Io(Error),
UnexpectedEof,
}
Variants
Parse(Error)
Method(InvalidMethod)
Uri(InvalidUri)
Status(InvalidStatusCode)
Header
Chunked
Io(Error)
UnexpectedEof
Trait Implementations
sourceimpl Debug for DecodeError
impl Debug for DecodeError
sourceimpl Display for DecodeError
impl Display for DecodeError
sourceimpl Error for DecodeError
impl Error for DecodeError
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<Error> for DecodeError
impl From<Error> for DecodeError
sourceimpl From<Error> for DecodeError
impl From<Error> for DecodeError
sourceimpl From<InvalidMethod> for DecodeError
impl From<InvalidMethod> for DecodeError
sourcefn from(source: InvalidMethod) -> Self
fn from(source: InvalidMethod) -> Self
Converts to this type from the input type.
sourceimpl From<InvalidStatusCode> for DecodeError
impl From<InvalidStatusCode> for DecodeError
sourcefn from(source: InvalidStatusCode) -> Self
fn from(source: InvalidStatusCode) -> Self
Converts to this type from the input type.
sourceimpl From<InvalidUri> for DecodeError
impl From<InvalidUri> for DecodeError
sourcefn from(source: InvalidUri) -> Self
fn from(source: InvalidUri) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for DecodeError
impl Send for DecodeError
impl Sync for DecodeError
impl Unpin for DecodeError
impl !UnwindSafe for DecodeError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more