pub enum Error {
Show 18 variants
Io {
source: Error,
description: String,
backtrace: Backtrace,
},
Delay {
source: Error,
backtrace: Backtrace,
},
Timeout {
source: Elapsed,
},
ListObjectsV2 {
source: SdkError<ListObjectsV2Error>,
},
DeleteObjects {
source: SdkError<DeleteObjectsError>,
},
DeleteObject {
source: SdkError<DeleteObjectError>,
},
CopyObject {
source: SdkError<CopyObjectError>,
},
GetObject {
key: String,
bucket: String,
source: SdkError<GetObjectError>,
},
TokioIo {
source: Error,
},
AnyError {
source: Box<dyn Error + Send + Sync>,
},
MissingKeyOrSize,
MissingContentLength,
PutObject {
source: SdkError<PutObjectError>,
key: String,
backtrace: Backtrace,
},
NewListObjectsV2 {
source: SdkError<ListObjectsV2Error>,
},
NewDeleteObjects {
source: SdkError<DeleteObjectsError>,
},
NewDeleteObject {
source: SdkError<DeleteObjectError>,
},
NewCopyObject {
source: SdkError<CopyObjectError>,
},
NewGetObject {
key: String,
bucket: String,
source: SdkError<GetObjectError>,
},
}
Variants§
Io
Delay
Error originating from tokio::Delay
Timeout
ListObjectsV2
Fields
§
source: SdkError<ListObjectsV2Error>
DeleteObjects
Fields
§
source: SdkError<DeleteObjectsError>
DeleteObject
Fields
§
source: SdkError<DeleteObjectError>
CopyObject
Fields
§
source: SdkError<CopyObjectError>
GetObject
TokioIo
AnyError
MissingKeyOrSize
MissingContentLength
PutObject
NewListObjectsV2
Fields
§
source: SdkError<ListObjectsV2Error>
NewDeleteObjects
Fields
§
source: SdkError<DeleteObjectsError>
NewDeleteObject
Fields
§
source: SdkError<DeleteObjectError>
NewCopyObject
Fields
§
source: SdkError<CopyObjectError>
NewGetObject
Trait Implementations§
source§impl Error for Error
impl Error for Error
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 IntoError<Error> for CopyObject
impl IntoError<Error> for CopyObject
§type Source = SdkError<CopyObjectError, Response>
type Source = SdkError<CopyObjectError, Response>
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 DeleteObject
impl IntoError<Error> for DeleteObject
§type Source = SdkError<DeleteObjectError, Response>
type Source = SdkError<DeleteObjectError, Response>
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 DeleteObjects
impl IntoError<Error> for DeleteObjects
§type Source = SdkError<DeleteObjectsError, Response>
type Source = SdkError<DeleteObjectsError, Response>
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, __T1> IntoError<Error> for GetObject<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for GetObject<__T0, __T1>
§type Source = SdkError<GetObjectError, Response>
type Source = SdkError<GetObjectError, Response>
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 ListObjectsV2
impl IntoError<Error> for ListObjectsV2
§type Source = SdkError<ListObjectsV2Error, Response>
type Source = SdkError<ListObjectsV2Error, Response>
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 MissingContentLength
impl IntoError<Error> for MissingContentLength
source§impl IntoError<Error> for MissingKeyOrSize
impl IntoError<Error> for MissingKeyOrSize
source§impl IntoError<Error> for NewCopyObject
impl IntoError<Error> for NewCopyObject
§type Source = SdkError<CopyObjectError, Response>
type Source = SdkError<CopyObjectError, Response>
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 NewDeleteObject
impl IntoError<Error> for NewDeleteObject
§type Source = SdkError<DeleteObjectError, Response>
type Source = SdkError<DeleteObjectError, Response>
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 NewDeleteObjects
impl IntoError<Error> for NewDeleteObjects
§type Source = SdkError<DeleteObjectsError, Response>
type Source = SdkError<DeleteObjectsError, Response>
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, __T1> IntoError<Error> for NewGetObject<__T0, __T1>
impl<__T0, __T1> IntoError<Error> for NewGetObject<__T0, __T1>
§type Source = SdkError<GetObjectError, Response>
type Source = SdkError<GetObjectError, Response>
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 NewListObjectsV2
impl IntoError<Error> for NewListObjectsV2
§type Source = SdkError<ListObjectsV2Error, Response>
type Source = SdkError<ListObjectsV2Error, Response>
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>
impl<__T0> IntoError<Error> for PutObject<__T0>
§type Source = SdkError<PutObjectError, Response>
type Source = SdkError<PutObjectError, Response>
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.
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.