pub enum Http10SendError {
Eof,
ParseResponseHeaders(Error),
InvalidContentLength(String),
}Expand description
Failure causes during the HTTP/1.0 send flow.
Variants§
Trait Implementations§
Source§impl Debug for Http10SendError
impl Debug for Http10SendError
Source§impl Display for Http10SendError
impl Display for Http10SendError
Source§impl Error for Http10SendError
impl Error for Http10SendError
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<Http10SendError> for HttpClientStdError
Available on crate feature client only.
impl From<Http10SendError> for HttpClientStdError
Available on crate feature
client only.Source§fn from(source: Http10SendError) -> Self
fn from(source: Http10SendError) -> Self
Converts to this type from the input type.
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.
Auto Trait Implementations§
impl Freeze for Http10SendError
impl RefUnwindSafe for Http10SendError
impl Send for Http10SendError
impl Sync for Http10SendError
impl Unpin for Http10SendError
impl UnsafeUnpin for Http10SendError
impl UnwindSafe for Http10SendError
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