pub enum StsClientError {
TlsError(TlsError),
StsProfileError(String),
NoHomeError,
CredentialsError(CredentialsError),
GetCallerIdentityError(GetCallerIdentityError),
RusotoError(String),
}
Variants§
TlsError(TlsError)
StsProfileError(String)
NoHomeError
CredentialsError(CredentialsError)
GetCallerIdentityError(GetCallerIdentityError)
RusotoError(String)
Trait Implementations§
Source§impl Debug for StsClientError
impl Debug for StsClientError
Source§impl Display for StsClientError
impl Display for StsClientError
Source§impl Error for StsClientError
impl Error for StsClientError
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<CredentialsError> for StsClientError
impl From<CredentialsError> for StsClientError
Source§fn from(source: CredentialsError) -> Self
fn from(source: CredentialsError) -> Self
Converts to this type from the input type.
Source§impl From<GetCallerIdentityError> for StsClientError
impl From<GetCallerIdentityError> for StsClientError
Source§fn from(source: GetCallerIdentityError) -> Self
fn from(source: GetCallerIdentityError) -> Self
Converts to this type from the input type.
Source§impl<T: Error + 'static> From<RusotoError<T>> for StsClientError
impl<T: Error + 'static> From<RusotoError<T>> for StsClientError
Source§fn from(item: RusotoError<T>) -> Self
fn from(item: RusotoError<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StsClientError
impl RefUnwindSafe for StsClientError
impl Send for StsClientError
impl Sync for StsClientError
impl Unpin for StsClientError
impl UnwindSafe for StsClientError
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