pub enum StartImageScanError {
ImageNotFound(String),
InvalidParameter(String),
LimitExceeded(String),
RepositoryNotFound(String),
Server(String),
UnsupportedImageType(String),
}Expand description
Errors returned by StartImageScan
Variants§
ImageNotFound(String)
The image requested does not exist in the specified repository.
InvalidParameter(String)
The specified parameter is invalid. Review the available parameters for the API request.
LimitExceeded(String)
The operation did not succeed because it would have exceeded a service limit for your account. For more information, see Amazon ECR Service Quotas in the Amazon Elastic Container Registry User Guide.
RepositoryNotFound(String)
The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
Server(String)
These errors are usually caused by a server-side issue.
UnsupportedImageType(String)
The image is of a type that cannot be scanned.
Implementations§
Source§impl StartImageScanError
impl StartImageScanError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<StartImageScanError>
Trait Implementations§
Source§impl Debug for StartImageScanError
impl Debug for StartImageScanError
Source§impl Display for StartImageScanError
impl Display for StartImageScanError
Source§impl Error for StartImageScanError
impl Error for StartImageScanError
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 StartImageScanError
impl PartialEq for StartImageScanError
impl StructuralPartialEq for StartImageScanError
Auto Trait Implementations§
impl Freeze for StartImageScanError
impl RefUnwindSafe for StartImageScanError
impl Send for StartImageScanError
impl Sync for StartImageScanError
impl Unpin for StartImageScanError
impl UnwindSafe for StartImageScanError
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