Enum cloud_storage_lite::errors::NotFoundError[][src]

pub enum NotFoundError {
    Bucket {
        bucket: String,
    },
    Object {
        bucket: String,
        key: String,
    },
    Other(String),
}

The specific thing that wasn’t found.

Variants

Bucket

The bucket wasn’t found.

Fields of Bucket

bucket: String

The name of the bucket that wasn’t found.

Object

An object wasn’t found, but the bucket does exist.

Fields of Object

bucket: String

The name of the bucket from which the object was requested.

key: String

The object key that wasn’t found.

Other(String)

Some other thing wasn’t found.

Trait Implementations

impl Debug for NotFoundError[src]

impl Display for NotFoundError[src]

impl Error for NotFoundError[src]

impl From<NotFoundError> for Error[src]

Auto Trait Implementations

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> 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.