Enum rusoto_core::RusotoError[][src]

pub enum RusotoError<E> {
    Service(E),
    HttpDispatch(HttpDispatchError),
    InvalidDnsName(InvalidDnsNameError),
    Credentials(CredentialsError),
    Validation(String),
    ParseError(String),
    Unknown(BufferedHttpResponse),
    Blocking,
}

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

InvalidDnsName(InvalidDnsNameError)

The endpoint sub-domain has invalid DNS name. (Only S3 service will generate this error)

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

impl<E: Debug> Debug for RusotoError<E>[src]

impl<E: Error + 'static> Display for RusotoError<E>[src]

impl<E: Error + 'static> Error for RusotoError<E>[src]

impl<E> From<CredentialsError> for RusotoError<E>[src]

impl<E> From<Error> for RusotoError<E>[src]

impl<E> From<Error> for RusotoError<E>[src]

impl<E> From<HttpDispatchError> for RusotoError<E>[src]

impl<E: PartialEq> PartialEq<RusotoError<E>> for RusotoError<E>[src]

impl<E> StructuralPartialEq for RusotoError<E>[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.