pub enum AliyunSDKError {
Io(Error),
HttpConnection(HTTPConnectError),
AliyunSMSError(String),
Utf8Error(Utf8Error),
FromUtf8Error(FromUtf8Error),
JsonError(Error),
}Variants§
Io(Error)
HttpConnection(HTTPConnectError)
AliyunSMSError(String)
Utf8Error(Utf8Error)
FromUtf8Error(FromUtf8Error)
JsonError(Error)
Trait Implementations§
Source§impl Debug for AliyunSDKError
impl Debug for AliyunSDKError
Source§impl Display for AliyunSDKError
impl Display for AliyunSDKError
Source§impl Error for AliyunSDKError
impl Error for AliyunSDKError
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 AliyunSDKError
impl From<Error> for AliyunSDKError
Source§impl From<Error> for AliyunSDKError
impl From<Error> for AliyunSDKError
Source§impl From<FromUtf8Error> for AliyunSDKError
impl From<FromUtf8Error> for AliyunSDKError
Source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<HTTPConnectError> for AliyunSDKError
impl From<HTTPConnectError> for AliyunSDKError
Source§fn from(source: HTTPConnectError) -> Self
fn from(source: HTTPConnectError) -> Self
Converts to this type from the input type.
Source§impl From<String> for AliyunSDKError
impl From<String> for AliyunSDKError
Auto Trait Implementations§
impl Freeze for AliyunSDKError
impl !RefUnwindSafe for AliyunSDKError
impl Send for AliyunSDKError
impl Sync for AliyunSDKError
impl Unpin for AliyunSDKError
impl !UnwindSafe for AliyunSDKError
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