Enum awscreds::error::CredentialsError
source · [−]pub enum CredentialsError {
NotEc2,
ConfigNotFound,
ConfigMissingAccessKeyId,
ConfigMissingSecretKey,
MissingEnvVar(String, String),
Atto(Error),
Ini(Error),
SerdeXml(Error),
UrlParse(ParseError),
Io(Error),
Env(VarError),
HomeDir,
}Variants
NotEc2
ConfigNotFound
ConfigMissingAccessKeyId
ConfigMissingSecretKey
MissingEnvVar(String, String)
Atto(Error)
Ini(Error)
SerdeXml(Error)
UrlParse(ParseError)
Io(Error)
Env(VarError)
HomeDir
Trait Implementations
sourceimpl Debug for CredentialsError
impl Debug for CredentialsError
sourceimpl Display for CredentialsError
impl Display for CredentialsError
sourceimpl Error for CredentialsError
impl Error for CredentialsError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Error> for CredentialsError
impl From<Error> for CredentialsError
sourceimpl From<Error> for CredentialsError
impl From<Error> for CredentialsError
sourceimpl From<Error> for CredentialsError
impl From<Error> for CredentialsError
sourceimpl From<Error> for CredentialsError
impl From<Error> for CredentialsError
sourceimpl From<ParseError> for CredentialsError
impl From<ParseError> for CredentialsError
sourcefn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for CredentialsError
impl Send for CredentialsError
impl Sync for CredentialsError
impl Unpin for CredentialsError
impl !UnwindSafe for CredentialsError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more