pub enum ErrorKind {
CredentialInvalid,
PermissionDenied,
ConfigInvalid,
RequestInvalid,
RateLimited,
Unexpected,
}Expand description
The kind of error that occurred
Variants§
CredentialInvalid
Credentials are invalid, expired, or malformed User action: Check credential format, refresh if expired
PermissionDenied
Permission denied when accessing credentials or resources User action: Check IAM policies, role trust relationships
ConfigInvalid
Required configuration is missing or invalid User action: Check configuration files, environment variables
RequestInvalid
Request cannot be signed or is malformed User action: Check request parameters, headers
RateLimited
Rate limit exceeded User action: Implement backoff, check quotas
Unexpected
Unexpected error that doesn’t fit other categories User action: Check logs, report bug if persistent
Trait Implementations§
impl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
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