pub enum S3Error {
Show 19 variants
Utf8(Utf8Error),
MaxExpiry(u32),
Http(u16, String),
HttpFail,
Credentials(CredentialsError),
Region(RegionError),
HmacInvalidLength(InvalidLength),
UrlParse(ParseError),
Io(Error),
Reqwest(Error),
HeaderToStr(ToStrError),
FromUtf8(FromUtf8Error),
SerdeXml(DeError),
InvalidHeaderValue(InvalidHeaderValue),
InvalidHeaderName(InvalidHeaderName),
WLCredentials,
RLCredentials,
TimeFormatError(Format),
FmtError(Error),
}
Variants§
Utf8(Utf8Error)
MaxExpiry(u32)
Http(u16, String)
HttpFail
Credentials(CredentialsError)
Region(RegionError)
HmacInvalidLength(InvalidLength)
UrlParse(ParseError)
Io(Error)
Reqwest(Error)
HeaderToStr(ToStrError)
FromUtf8(FromUtf8Error)
SerdeXml(DeError)
InvalidHeaderValue(InvalidHeaderValue)
InvalidHeaderName(InvalidHeaderName)
WLCredentials
RLCredentials
TimeFormatError(Format)
FmtError(Error)
Trait Implementations§
source§impl Error for S3Error
impl Error for S3Error
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()
source§impl From<CredentialsError> for S3Error
impl From<CredentialsError> for S3Error
source§fn from(source: CredentialsError) -> Self
fn from(source: CredentialsError) -> Self
Converts to this type from the input type.
source§impl From<FromUtf8Error> for S3Error
impl From<FromUtf8Error> for S3Error
source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
source§impl From<InvalidHeaderName> for S3Error
impl From<InvalidHeaderName> for S3Error
source§fn from(source: InvalidHeaderName) -> Self
fn from(source: InvalidHeaderName) -> Self
Converts to this type from the input type.
source§impl From<InvalidHeaderValue> for S3Error
impl From<InvalidHeaderValue> for S3Error
source§fn from(source: InvalidHeaderValue) -> Self
fn from(source: InvalidHeaderValue) -> Self
Converts to this type from the input type.
source§impl From<ParseError> for S3Error
impl From<ParseError> for S3Error
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
source§impl From<RegionError> for S3Error
impl From<RegionError> for S3Error
source§fn from(source: RegionError) -> Self
fn from(source: RegionError) -> Self
Converts to this type from the input type.
source§impl From<ToStrError> for S3Error
impl From<ToStrError> for S3Error
source§fn from(source: ToStrError) -> Self
fn from(source: ToStrError) -> Self
Converts to this type from the input type.