Struct prometheus_http_query::error::ClientError
source · pub struct ClientError { /* private fields */ }
Expand description
Is thrown when the Client
or the underlying
reqwest::Error
fail to build or execute a request.
Implementations§
source§impl ClientError
impl ClientError
Trait Implementations§
source§impl Debug for ClientError
impl Debug for ClientError
source§impl Display for ClientError
impl Display for ClientError
source§impl Error for ClientError
impl Error for ClientError
source§fn source(&self) -> Option<&(dyn StdError + 'static)>
fn source(&self) -> Option<&(dyn StdError + 'static)>
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()
Auto Trait Implementations§
impl Freeze for ClientError
impl !RefUnwindSafe for ClientError
impl Send for ClientError
impl Sync for ClientError
impl Unpin for ClientError
impl !UnwindSafe for ClientError
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