pub enum S3Error {
Show 17 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(Error),
InvalidHeaderValue(InvalidHeaderValue),
InvalidHeaderName(InvalidHeaderName),
WLCredentials,
RLCredentials,
}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(Error)
InvalidHeaderValue(InvalidHeaderValue)
InvalidHeaderName(InvalidHeaderName)
WLCredentials
RLCredentials
Trait Implementations
sourceimpl Error for S3Error
impl Error for S3Error
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<CredentialsError> for S3Error
impl From<CredentialsError> for S3Error
sourcefn from(source: CredentialsError) -> Self
fn from(source: CredentialsError) -> Self
Converts to this type from the input type.
sourceimpl From<FromUtf8Error> for S3Error
impl From<FromUtf8Error> for S3Error
sourcefn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
sourceimpl From<InvalidHeaderName> for S3Error
impl From<InvalidHeaderName> for S3Error
sourcefn from(source: InvalidHeaderName) -> Self
fn from(source: InvalidHeaderName) -> Self
Converts to this type from the input type.
sourceimpl From<InvalidHeaderValue> for S3Error
impl From<InvalidHeaderValue> for S3Error
sourcefn from(source: InvalidHeaderValue) -> Self
fn from(source: InvalidHeaderValue) -> Self
Converts to this type from the input type.
sourceimpl From<ParseError> for S3Error
impl From<ParseError> for S3Error
sourcefn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
sourceimpl From<RegionError> for S3Error
impl From<RegionError> for S3Error
sourcefn from(source: RegionError) -> Self
fn from(source: RegionError) -> Self
Converts to this type from the input type.
sourceimpl From<ToStrError> for S3Error
impl From<ToStrError> for S3Error
sourcefn from(source: ToStrError) -> Self
fn from(source: ToStrError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for S3Error
impl Send for S3Error
impl Sync for S3Error
impl Unpin for S3Error
impl !UnwindSafe for S3Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more