Struct rusoto_credential::CredentialsError
[−]
[src]
pub struct CredentialsError { pub message: String, }
Represents an Error that has occured during the fetching Credentials Phase.
This generally is an error message from one of our underlying libraries, however we wrap it up with this type so we can export one single error type.
Fields
message: String
The underlying error message for the credentials error.
Methods
impl CredentialsError
[src]
fn new<S>(message: S) -> CredentialsError where
S: Into<String>,
[src]
S: Into<String>,
Creates a new Credentials Error.
message
- The Error message for this CredentialsError.
Trait Implementations
impl Debug for CredentialsError
[src]
impl PartialEq for CredentialsError
[src]
fn eq(&self, __arg_0: &CredentialsError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CredentialsError) -> bool
[src]
This method tests for !=
.
impl Display for CredentialsError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for CredentialsError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more
impl From<ParseError> for CredentialsError
[src]
fn from(err: ParseError) -> CredentialsError
[src]
Performs the conversion.
impl From<IoError> for CredentialsError
[src]
fn from(err: IoError) -> CredentialsError
[src]
Performs the conversion.
impl From<UriError> for CredentialsError
[src]
fn from(err: UriError) -> CredentialsError
[src]
Performs the conversion.