pub enum IntasendClientError {
ReqwestError(Error),
SerdeJsonError(Error),
UnexpectedResponseStatus {
status: StatusCode,
error: IntasendApiError,
},
}Expand description
IntasendClientError - The main error data structure derived from thiserror crate
Variants§
Trait Implementations§
Source§impl Debug for IntasendClientError
impl Debug for IntasendClientError
Source§impl Display for IntasendClientError
impl Display for IntasendClientError
Source§impl Error for IntasendClientError
impl Error for IntasendClientError
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 IntasendClientError
impl From<Error> for IntasendClientError
Source§fn from(source: ReqwestErr) -> Self
fn from(source: ReqwestErr) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for IntasendClientError
impl !UnwindSafe for IntasendClientError
impl Freeze for IntasendClientError
impl Send for IntasendClientError
impl Sync for IntasendClientError
impl Unpin for IntasendClientError
impl UnsafeUnpin for IntasendClientError
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