Enum rusoto_core::RusotoError
source · [−]pub enum RusotoError<E> {
Service(E),
HttpDispatch(HttpDispatchError),
Credentials(CredentialsError),
Validation(String),
ParseError(String),
Unknown(BufferedHttpResponse),
Blocking,
}
Expand description
Generic error type returned by all rusoto requests.
Variants
Service(E)
A service-specific error occurred.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
ParseError(String)
An error occurred parsing the response payload.
Unknown(BufferedHttpResponse)
An unknown error occurred. The raw HTTP response is provided.
Blocking
An error occurred when attempting to run a future as blocking
Trait Implementations
sourceimpl<E: Debug> Debug for RusotoError<E>
impl<E: Debug> Debug for RusotoError<E>
sourceimpl<E: Error + 'static> Display for RusotoError<E>
impl<E: Error + 'static> Display for RusotoError<E>
sourceimpl<E: Error + 'static> Error for RusotoError<E>
impl<E: Error + 'static> Error for RusotoError<E>
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<E> From<CredentialsError> for RusotoError<E>
impl<E> From<CredentialsError> for RusotoError<E>
sourcefn from(err: CredentialsError) -> Self
fn from(err: CredentialsError) -> Self
Converts to this type from the input type.
sourceimpl<E> From<Error> for RusotoError<E>
impl<E> From<Error> for RusotoError<E>
sourceimpl<E> From<Error> for RusotoError<E>
impl<E> From<Error> for RusotoError<E>
sourceimpl<E> From<HttpDispatchError> for RusotoError<E>
impl<E> From<HttpDispatchError> for RusotoError<E>
sourcefn from(err: HttpDispatchError) -> Self
fn from(err: HttpDispatchError) -> Self
Converts to this type from the input type.
sourceimpl<E: PartialEq> PartialEq<RusotoError<E>> for RusotoError<E>
impl<E: PartialEq> PartialEq<RusotoError<E>> for RusotoError<E>
sourcefn eq(&self, other: &RusotoError<E>) -> bool
fn eq(&self, other: &RusotoError<E>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RusotoError<E>) -> bool
fn ne(&self, other: &RusotoError<E>) -> bool
This method tests for !=
.
impl<E> StructuralPartialEq for RusotoError<E>
Auto Trait Implementations
impl<E> RefUnwindSafe for RusotoError<E> where
E: RefUnwindSafe,
impl<E> Send for RusotoError<E> where
E: Send,
impl<E> Sync for RusotoError<E> where
E: Sync,
impl<E> Unpin for RusotoError<E> where
E: Unpin,
impl<E> UnwindSafe for RusotoError<E> where
E: UnwindSafe,
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> 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