Struct rusoto_credential::CredentialsError
source · pub struct CredentialsError {
pub message: String,
}
Expand description
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.
Implementations
sourceimpl CredentialsError
impl CredentialsError
sourcepub fn new<S>(message: S) -> CredentialsErrorwhere
S: ToString,
pub fn new<S>(message: S) -> CredentialsErrorwhere
S: ToString,
Creates a new Credentials Error.
message
- The Error message for this CredentialsError.
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 description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · 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
sourceimpl From<Error> for CredentialsError
impl From<Error> for CredentialsError
sourcefn from(err: IoError) -> CredentialsError
fn from(err: IoError) -> CredentialsError
Converts to this type from the input type.
sourceimpl From<Error> for CredentialsError
impl From<Error> for CredentialsError
sourcefn from(err: HyperError) -> CredentialsError
fn from(err: HyperError) -> CredentialsError
Converts to this type from the input type.
sourceimpl From<Error> for CredentialsError
impl From<Error> for CredentialsError
sourcefn from(err: Error) -> CredentialsError
fn from(err: Error) -> CredentialsError
Converts to this type from the input type.
sourceimpl From<ParseError> for CredentialsError
impl From<ParseError> for CredentialsError
sourcefn from(err: ParseError) -> CredentialsError
fn from(err: ParseError) -> CredentialsError
Converts to this type from the input type.
sourceimpl PartialEq<CredentialsError> for CredentialsError
impl PartialEq<CredentialsError> for CredentialsError
sourcefn eq(&self, other: &CredentialsError) -> bool
fn eq(&self, other: &CredentialsError) -> bool
impl StructuralPartialEq for CredentialsError
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