pub enum DescribeCapacityProvidersError {
Client(String),
InvalidParameter(String),
Server(String),
}
Expand description
Errors returned by DescribeCapacityProviders
Variants§
Client(String)
These errors are usually caused by a client action, such as 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.
InvalidParameter(String)
The specified parameter is invalid. Review the available parameters for the API request.
Server(String)
These errors are usually caused by a server issue.
Implementations§
Trait Implementations§
Source§impl Error for DescribeCapacityProvidersError
impl Error for DescribeCapacityProvidersError
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 DescribeCapacityProvidersError
impl PartialEq for DescribeCapacityProvidersError
Source§fn eq(&self, other: &DescribeCapacityProvidersError) -> bool
fn eq(&self, other: &DescribeCapacityProvidersError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DescribeCapacityProvidersError
Auto Trait Implementations§
impl Freeze for DescribeCapacityProvidersError
impl RefUnwindSafe for DescribeCapacityProvidersError
impl Send for DescribeCapacityProvidersError
impl Sync for DescribeCapacityProvidersError
impl Unpin for DescribeCapacityProvidersError
impl UnwindSafe for DescribeCapacityProvidersError
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