pub enum BuildClientError {
NoBackend,
BackendError(Error),
}
Expand description
Errors that can occur when building a nyquest HTTP client.
Variants§
NoBackend
No backend has been registered for nyquest.
BackendError(Error)
An error occurred in the backend implementation.
Trait Implementations§
Source§impl Debug for BuildClientError
impl Debug for BuildClientError
Source§impl Display for BuildClientError
impl Display for BuildClientError
Source§impl Error for BuildClientError
impl Error for BuildClientError
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 BuildClientError
impl From<Error> for BuildClientError
Source§fn from(source: BackendError) -> Self
fn from(source: BackendError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BuildClientError
impl !RefUnwindSafe for BuildClientError
impl Send for BuildClientError
impl Sync for BuildClientError
impl Unpin for BuildClientError
impl !UnwindSafe for BuildClientError
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