Struct aws_sdk_rust::aws::errors::s3::S3Error
[−]
[src]
pub struct S3Error { pub message: String, pub aws: AWSError, }
S3Error is a larger container error struct that contains a more general error about the task
that was requested + AWSError
which contains the details from AWS S3.
Fields
message: String
aws: AWSError
Methods
impl S3Error
[src]
fn new<S>(message: S) -> S3Error where
S: Into<String>,
S: Into<String>,
implements the basic S3Error without a valid AWSError
(default).
fn with_aws<S>(message: S, aws: AWSError) -> S3Error where
S: Into<String>,
S: Into<String>,
implements the S3Error with a specific AWSError
with details about the AWS error.
Trait Implementations
impl Debug for S3Error
[src]
impl Default for S3Error
[src]
impl Decodable for S3Error
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<S3Error, __D::Error>
Deserialize a value using a Decoder
.
impl Encodable for S3Error
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder
.
impl Display for S3Error
[src]
impl Error for S3Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more
impl From<CredentialsError> for S3Error
[src]
fn from(err: CredentialsError) -> S3Error
Performs the conversion.
impl From<ParseIntError> for S3Error
[src]
fn from(err: ParseIntError) -> S3Error
Performs the conversion.
impl From<ParseBoolError> for S3Error
[src]
fn from(err: ParseBoolError) -> S3Error
Performs the conversion.
impl From<XmlParseError> for S3Error
[src]
fn from(err: XmlParseError) -> S3Error
Performs the conversion.