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) -> CredentialsError where
S: ToString,
pub fn new<S>(message: S) -> CredentialsError where
S: ToString,
Creates a new Credentials Error.
message
- The Error message for this CredentialsError.
Trait Implementations
sourceimpl Clone for CredentialsError
impl Clone for CredentialsError
sourcefn clone(&self) -> CredentialsError
fn clone(&self) -> CredentialsError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CredentialsError
impl Debug for CredentialsError
sourceimpl Display for CredentialsError
impl Display for CredentialsError
sourceimpl Error for CredentialsError
impl Error for CredentialsError
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
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
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<FromUtf8Error> for CredentialsError
impl From<FromUtf8Error> for CredentialsError
sourcefn from(err: FromUtf8Error) -> CredentialsError
fn from(err: FromUtf8Error) -> 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 From<VarError> for CredentialsError
impl From<VarError> for CredentialsError
sourcefn from(err: VarError) -> CredentialsError
fn from(err: VarError) -> 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CredentialsError) -> bool
fn ne(&self, other: &CredentialsError) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more