Struct rusoto_core::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]
impl CredentialsError
pub fn new<S>(message: S) -> CredentialsError where
S: ToString,
[src]
pub fn new<S>(message: S) -> CredentialsError where
S: ToString,
Creates a new Credentials Error.
message
- The Error message for this CredentialsError.
Trait Implementations
impl Error for CredentialsError
[src]
impl Error for CredentialsError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for CredentialsError
[src]
impl Display for CredentialsError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Debug for CredentialsError
[src]
impl Debug for CredentialsError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl PartialEq<CredentialsError> for CredentialsError
[src]
impl PartialEq<CredentialsError> for CredentialsError
fn eq(&self, other: &CredentialsError) -> bool
[src]
fn eq(&self, other: &CredentialsError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CredentialsError) -> bool
[src]
fn ne(&self, other: &CredentialsError) -> bool
This method tests for !=
.
impl From<Error> for CredentialsError
[src]
impl From<Error> for CredentialsError
fn from(err: Error) -> CredentialsError
[src]
fn from(err: Error) -> CredentialsError
Performs the conversion.
impl From<Error> for CredentialsError
[src]
impl From<Error> for CredentialsError
fn from(err: Error) -> CredentialsError
[src]
fn from(err: Error) -> CredentialsError
Performs the conversion.
impl From<ParseError> for CredentialsError
[src]
impl From<ParseError> for CredentialsError
fn from(err: ParseError) -> CredentialsError
[src]
fn from(err: ParseError) -> CredentialsError
Performs the conversion.
Auto Trait Implementations
impl Send for CredentialsError
impl Send for CredentialsError
impl Sync for CredentialsError
impl Sync for CredentialsError