pub enum S3Error {
Show 21 variants
Utf8(Utf8Error),
MaxExpiry(u32),
HttpFailWithBody(u16, String),
HttpFail,
Credentials(CredentialsError),
Region(RegionError),
HmacInvalidLength(InvalidLength),
UrlParse(ParseError),
Io(Error),
Http(Error),
Hyper(Error),
HyperUtil(Error),
HeaderToStr(ToStrError),
FromUtf8(FromUtf8Error),
SerdeXml(DeError),
InvalidHeaderValue(InvalidHeaderValue),
InvalidHeaderName(InvalidHeaderName),
WLCredentials,
RLCredentials,
TimeFormatError(Format),
FmtError(Error),
}
Variants§
Utf8(Utf8Error)
MaxExpiry(u32)
HttpFailWithBody(u16, String)
HttpFail
Credentials(CredentialsError)
Region(RegionError)
HmacInvalidLength(InvalidLength)
UrlParse(ParseError)
Io(Error)
Http(Error)
Hyper(Error)
HyperUtil(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<InvalidLength> for S3Error
impl From<InvalidLength> for S3Error
source§fn from(source: InvalidLength) -> Self
fn from(source: InvalidLength) -> 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.
Auto Trait Implementations§
impl Freeze for S3Error
impl !RefUnwindSafe for S3Error
impl Send for S3Error
impl Sync for S3Error
impl Unpin for S3Error
impl !UnwindSafe for S3Error
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