pub enum Http11ReadHeadersError {
Eof,
ParseResponseHeaders(Error),
}Expand description
Failure causes during the HTTP/1.X read-headers flow.
Variants§
Trait Implementations§
Source§impl Debug for Http11ReadHeadersError
impl Debug for Http11ReadHeadersError
Source§impl Display for Http11ReadHeadersError
impl Display for Http11ReadHeadersError
Source§impl Error for Http11ReadHeadersError
impl Error for Http11ReadHeadersError
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()
Source§impl From<Http11ReadHeadersError> for Http10SendError
impl From<Http11ReadHeadersError> for Http10SendError
Source§fn from(err: Http11ReadHeadersError) -> Self
fn from(err: Http11ReadHeadersError) -> Self
Converts to this type from the input type.
Source§impl From<Http11ReadHeadersError> for Http11SendError
impl From<Http11ReadHeadersError> for Http11SendError
Source§fn from(err: Http11ReadHeadersError) -> Self
fn from(err: Http11ReadHeadersError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Http11ReadHeadersError
impl RefUnwindSafe for Http11ReadHeadersError
impl Send for Http11ReadHeadersError
impl Sync for Http11ReadHeadersError
impl Unpin for Http11ReadHeadersError
impl UnsafeUnpin for Http11ReadHeadersError
impl UnwindSafe for Http11ReadHeadersError
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