pub struct HttpDispatchError { /* private fields */ }
Expand description
An error produced when sending the request, such as a timeout error.
Implementations§
Source§impl HttpDispatchError
impl HttpDispatchError
Sourcepub fn new(message: String) -> HttpDispatchError
pub fn new(message: String) -> HttpDispatchError
Construct a new HttpDispatchError for testing purposes
Trait Implementations§
Source§impl Clone for HttpDispatchError
impl Clone for HttpDispatchError
Source§fn clone(&self) -> HttpDispatchError
fn clone(&self) -> HttpDispatchError
Returns a duplicate 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 HttpDispatchError
impl Debug for HttpDispatchError
Source§impl Display for HttpDispatchError
impl Display for HttpDispatchError
Source§impl Error for HttpDispatchError
impl Error for HttpDispatchError
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<Error> for HttpDispatchError
impl From<Error> for HttpDispatchError
Source§fn from(err: HyperError) -> HttpDispatchError
fn from(err: HyperError) -> HttpDispatchError
Converts to this type from the input type.
Source§impl From<Error> for HttpDispatchError
impl From<Error> for HttpDispatchError
Source§fn from(err: IoError) -> HttpDispatchError
fn from(err: IoError) -> HttpDispatchError
Converts to this type from the input type.
Source§impl<E> From<HttpDispatchError> for RusotoError<E>
impl<E> From<HttpDispatchError> for RusotoError<E>
Source§fn from(err: HttpDispatchError) -> Self
fn from(err: HttpDispatchError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HttpDispatchError
impl PartialEq for HttpDispatchError
impl StructuralPartialEq for HttpDispatchError
Auto Trait Implementations§
impl Freeze for HttpDispatchError
impl RefUnwindSafe for HttpDispatchError
impl Send for HttpDispatchError
impl Sync for HttpDispatchError
impl Unpin for HttpDispatchError
impl UnwindSafe for HttpDispatchError
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