pub enum MatomoClientError {
Communication {
source: Error,
},
Http {
source: Error,
},
}Expand description
Transport-level errors surfaced by MatomoClient.
Variants§
Communication
The underlying reqwest call failed (DNS, TLS, timeout, …).
Http
Constructing the http::Response from the reqwest response failed.
Trait Implementations§
Source§impl Debug for MatomoClientError
impl Debug for MatomoClientError
Source§impl Display for MatomoClientError
impl Display for MatomoClientError
Source§impl Error for MatomoClientError
impl Error for MatomoClientError
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 MatomoClientError
impl From<Error> for MatomoClientError
Auto Trait Implementations§
impl !RefUnwindSafe for MatomoClientError
impl !UnwindSafe for MatomoClientError
impl Freeze for MatomoClientError
impl Send for MatomoClientError
impl Sync for MatomoClientError
impl Unpin for MatomoClientError
impl UnsafeUnpin for MatomoClientError
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