pub enum S3RequestError {
InternalError(Box<dyn Error + Send + Sync>),
CrtError(Error),
ConstructionFailure(ConstructionError),
ResponseError(MetaRequestResult),
IncorrectRegion(String, ClientErrorMetadata),
Forbidden(String, ClientErrorMetadata),
NoSigningCredentials,
RequestCanceled,
Throttled,
EmptyReadWindow,
}Expand description
Errors returned by the CRT-based S3 client
Variants§
InternalError(Box<dyn Error + Send + Sync>)
An internal error from within the S3 client. The request may have been sent.
CrtError(Error)
An internal error from within the AWS Common Runtime. The request may have been sent.
ConstructionFailure(ConstructionError)
An error during construction of a request. The request was not sent.
ResponseError(MetaRequestResult)
The request was sent but an unknown or unhandled failure occurred while processing it.
IncorrectRegion(String, ClientErrorMetadata)
The request was made to the wrong region
Forbidden(String, ClientErrorMetadata)
Forbidden
NoSigningCredentials
The request was attempted but could not be signed due to no available credentials
RequestCanceled
The request was canceled
Throttled
The request was throttled by S3
EmptyReadWindow
Cannot fetch more data because current read window is exhausted. The read window must be advanced using [GetObjectRequest::increment_read_window(u64)] to continue fetching new data.
Trait Implementations§
Source§impl Debug for S3RequestError
impl Debug for S3RequestError
Source§impl Display for S3RequestError
impl Display for S3RequestError
Source§impl Error for S3RequestError
impl Error for S3RequestError
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<Error> for S3RequestError
impl From<Error> for S3RequestError
Source§impl ProvideErrorMetadata for S3RequestError
impl ProvideErrorMetadata for S3RequestError
fn meta(&self) -> ClientErrorMetadata
Auto Trait Implementations§
impl Freeze for S3RequestError
impl !RefUnwindSafe for S3RequestError
impl Send for S3RequestError
impl Sync for S3RequestError
impl Unpin for S3RequestError
impl !UnwindSafe for S3RequestError
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