pub enum S3RequestError {
InternalError(Box<dyn Error + Send + Sync>),
CrtError(Error),
ConstructionFailure(ConstructionError),
ResponseError(MetaRequestResult),
IncorrectRegion(String),
Forbidden(String),
NoSigningCredentials,
RequestCanceled,
}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)
The request was made to the wrong region
Forbidden(String)
Forbidden
NoSigningCredentials
No signing credential is set for requests
RequestCanceled
The request was canceled
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)>
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()
Auto Trait Implementations§
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