pub enum DescribeClusterError {
Client(String),
ResourceNotFound(String),
Server(String),
ServiceUnavailable(String),
}Expand description
Errors returned by DescribeCluster
Variants§
Client(String)
These errors are usually caused by a client action. Actions can include using an action or resource on behalf of a user that doesn't have permissions to use the action or resource or specifying an identifier that is not valid.
ResourceNotFound(String)
The specified resource could not be found. You can view your available clusters with ListClusters. You can view your available managed node groups with ListNodegroups. Amazon EKS clusters and node groups are Region-specific.
Server(String)
These errors are usually caused by a server-side issue.
The service is unavailable. Back off and retry the operation.
Implementations§
Source§impl DescribeClusterError
impl DescribeClusterError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DescribeClusterError>
Trait Implementations§
Source§impl Debug for DescribeClusterError
impl Debug for DescribeClusterError
Source§impl Display for DescribeClusterError
impl Display for DescribeClusterError
Source§impl Error for DescribeClusterError
impl Error for DescribeClusterError
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 DescribeClusterError
impl PartialEq for DescribeClusterError
impl StructuralPartialEq for DescribeClusterError
Auto Trait Implementations§
impl Freeze for DescribeClusterError
impl RefUnwindSafe for DescribeClusterError
impl Send for DescribeClusterError
impl Sync for DescribeClusterError
impl Unpin for DescribeClusterError
impl UnwindSafe for DescribeClusterError
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