pub enum Error {
Io {
source: Error,
description: String,
backtrace: Backtrace,
},
Delay {
source: Error,
backtrace: Backtrace,
},
PutObject {
source: RusotoError<PutObjectError>,
key: String,
backtrace: Backtrace,
},
Timeout {
source: Elapsed,
},
ListObjectsV2 {
source: RusotoError<ListObjectsV2Error>,
},
DeleteObjects {
source: RusotoError<DeleteObjectsError>,
},
DeleteObject {
source: RusotoError<DeleteObjectError>,
},
CopyObject {
source: RusotoError<CopyObjectError>,
},
GetObject {
source: RusotoError<GetObjectError>,
},
TokioIo {
source: Error,
},
AnyError {
source: Box<dyn Error + Send + Sync>,
},
}Variants§
Io
Delay
Error originating from tokio::Delay
PutObject
Timeout
ListObjectsV2
Fields
§
source: RusotoError<ListObjectsV2Error>DeleteObjects
Fields
§
source: RusotoError<DeleteObjectsError>DeleteObject
Fields
§
source: RusotoError<DeleteObjectError>CopyObject
Fields
§
source: RusotoError<CopyObjectError>GetObject
Fields
§
source: RusotoError<GetObjectError>TokioIo
AnyError
Trait Implementations§
source§impl Error for Errorwhere
Self: Debug + Display,
impl Error for Errorwhere
Self: Debug + Display,
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§impl ErrorCompat for Error
impl ErrorCompat for Error
source§impl<T> From<RusotoError<T>> for Errorwhere
T: Error + Send + Sync + 'static,
impl<T> From<RusotoError<T>> for Errorwhere
T: Error + Send + Sync + 'static,
source§fn from(err: RusotoError<T>) -> Self
fn from(err: RusotoError<T>) -> Self
Converts to this type from the input type.
source§impl IntoError<Error> for CopyObjectwhere
Error: Error + ErrorCompat,
impl IntoError<Error> for CopyObjectwhere
Error: Error + ErrorCompat,
§type Source = RusotoError<CopyObjectError>
type Source = RusotoError<CopyObjectError>
The underlying error
source§fn into_error(self, error: Self::Source) -> Error
fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the error
source§impl IntoError<Error> for DeleteObjectwhere
Error: Error + ErrorCompat,
impl IntoError<Error> for DeleteObjectwhere
Error: Error + ErrorCompat,
§type Source = RusotoError<DeleteObjectError>
type Source = RusotoError<DeleteObjectError>
The underlying error
source§fn into_error(self, error: Self::Source) -> Error
fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the error
source§impl IntoError<Error> for DeleteObjectswhere
Error: Error + ErrorCompat,
impl IntoError<Error> for DeleteObjectswhere
Error: Error + ErrorCompat,
§type Source = RusotoError<DeleteObjectsError>
type Source = RusotoError<DeleteObjectsError>
The underlying error
source§fn into_error(self, error: Self::Source) -> Error
fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the error
source§impl IntoError<Error> for GetObjectwhere
Error: Error + ErrorCompat,
impl IntoError<Error> for GetObjectwhere
Error: Error + ErrorCompat,
§type Source = RusotoError<GetObjectError>
type Source = RusotoError<GetObjectError>
The underlying error
source§fn into_error(self, error: Self::Source) -> Error
fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the error
source§impl<__T0> IntoError<Error> for Io<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
impl<__T0> IntoError<Error> for Io<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl IntoError<Error> for ListObjectsV2where
Error: Error + ErrorCompat,
impl IntoError<Error> for ListObjectsV2where
Error: Error + ErrorCompat,
§type Source = RusotoError<ListObjectsV2Error>
type Source = RusotoError<ListObjectsV2Error>
The underlying error
source§fn into_error(self, error: Self::Source) -> Error
fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the error
source§impl<__T0> IntoError<Error> for PutObject<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
impl<__T0> IntoError<Error> for PutObject<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
§type Source = RusotoError<PutObjectError>
type Source = RusotoError<PutObjectError>
The underlying error
source§fn into_error(self, error: Self::Source) -> Error
fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the error
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.