pub enum NotFoundError {
Bucket {
bucket: String,
},
Object {
bucket: String,
key: String,
},
Other(String),
}Expand description
The specific thing that wasn’t found.
Variants§
Bucket
The bucket wasn’t found.
Object
An object wasn’t found, but the bucket does exist.
Fields
Other(String)
Some other thing wasn’t found.
Trait Implementations§
Source§impl Debug for NotFoundError
impl Debug for NotFoundError
Source§impl Display for NotFoundError
impl Display for NotFoundError
Source§impl Error for NotFoundError
impl Error for NotFoundError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<NotFoundError> for Error
impl From<NotFoundError> for Error
Source§fn from(source: NotFoundError) -> Self
fn from(source: NotFoundError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NotFoundError
impl RefUnwindSafe for NotFoundError
impl Send for NotFoundError
impl Sync for NotFoundError
impl Unpin for NotFoundError
impl UnwindSafe for NotFoundError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more