[]Struct s3::error::S3Error

pub struct S3Error(pub ErrorKind, _);

The Error type.

This tuple struct is made of two elements:

  • an ErrorKind which is used to determine the type of the error.
  • An internal State, not meant for direct use outside of error_chain internals, containing:
    • a backtrace, generated when the error is created.
    • an error chain, used for the implementation of Error::cause().

Methods

impl S3Error

Constructs an error from a kind, and generates a backtrace.

Constructs a chained error from another error and a kind, and generates a backtrace.

Returns the kind of the error.

Iterates over the error chain.

Returns the backtrace associated with this error.

Methods from Deref<Target = ErrorKind>

A string describing the error kind.

Trait Implementations

impl From<FromUtf8Error> for S3Error

Performs the conversion.

impl From<Error> for S3Error

Performs the conversion.

impl From<Error> for S3Error

Performs the conversion.

impl From<VarError> for S3Error

Performs the conversion.

impl From<Error> for S3Error

Performs the conversion.

impl From<Error> for S3Error

Performs the conversion.

impl From<InvalidHeaderName> for S3Error

Performs the conversion.

impl From<InvalidHeaderValue> for S3Error

Performs the conversion.

impl From<ErrorKind> for S3Error

Performs the conversion.

impl<'a> From<&'a str> for S3Error

Performs the conversion.

impl From<String> for S3Error

Performs the conversion.

impl From<S3Error> for ErrorKind

Performs the conversion.

impl Deref for S3Error

The resulting type after dereferencing.

Dereferences the value.

impl Debug for S3Error

Formats the value using the given formatter. Read more

impl Display for S3Error

Formats the value using the given formatter. Read more

impl Error for S3Error

This method is soft-deprecated. Read more

Deprecating in 1.33.0

: replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

The lower-level source of this error, if any. Read more

impl ChainedError for S3Error

Associated kind type.

Constructs an error from a kind, and generates a backtrace.

Constructs a chained error from another error and a kind, and generates a backtrace.

Returns the kind of the error.

Iterates over the error chain.

Returns the backtrace associated with this error.

Returns an object which implements Display for printing the full context of this error. Read more

Auto Trait Implementations

impl Send for S3Error

impl !Sync for S3Error

Blanket Implementations

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

Performs the conversion.

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

Converts the given value to a String. Read more

impl<T> From for T
[src]

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

Mutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T> Same for T

Should always be Self

impl<T> Erased for T