pub enum GetImagePolicyError {
CallRateLimitExceeded(String),
Forbidden(String),
InvalidRequest(String),
ResourceNotFound(String),
Service(String),
ServiceUnavailable(String),
}
Expand description
Errors returned by GetImagePolicy
Variants§
CallRateLimitExceeded(String)
You have exceeded the permitted request rate for the specific operation.
Forbidden(String)
You are not authorized to perform the requested operation.
InvalidRequest(String)
You have made a request for an action that is not supported by the service.
ResourceNotFound(String)
At least one of the resources referenced by your request does not exist.
Service(String)
This exception is thrown when the service encounters an unrecoverable exception.
The service is unable to process your request at this time.
Implementations§
Source§impl GetImagePolicyError
impl GetImagePolicyError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetImagePolicyError>
Trait Implementations§
Source§impl Debug for GetImagePolicyError
impl Debug for GetImagePolicyError
Source§impl Display for GetImagePolicyError
impl Display for GetImagePolicyError
Source§impl Error for GetImagePolicyError
impl Error for GetImagePolicyError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PartialEq for GetImagePolicyError
impl PartialEq for GetImagePolicyError
impl StructuralPartialEq for GetImagePolicyError
Auto Trait Implementations§
impl Freeze for GetImagePolicyError
impl RefUnwindSafe for GetImagePolicyError
impl Send for GetImagePolicyError
impl Sync for GetImagePolicyError
impl Unpin for GetImagePolicyError
impl UnwindSafe for GetImagePolicyError
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