pub enum DescribeStandardsControlsError {
Internal(String),
InvalidAccess(String),
InvalidInput(String),
ResourceNotFound(String),
}
Expand description
Errors returned by DescribeStandardsControls
Variants§
Internal(String)
Internal server error.
InvalidAccess(String)
AWS Security Hub isn't enabled for the account used to make this request.
InvalidInput(String)
The request was rejected because you supplied an invalid or out-of-range value for an input parameter.
ResourceNotFound(String)
The request was rejected because we can't find the specified resource.
Implementations§
Trait Implementations§
Source§impl Error for DescribeStandardsControlsError
impl Error for DescribeStandardsControlsError
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 DescribeStandardsControlsError
impl PartialEq for DescribeStandardsControlsError
Source§fn eq(&self, other: &DescribeStandardsControlsError) -> bool
fn eq(&self, other: &DescribeStandardsControlsError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DescribeStandardsControlsError
Auto Trait Implementations§
impl Freeze for DescribeStandardsControlsError
impl RefUnwindSafe for DescribeStandardsControlsError
impl Send for DescribeStandardsControlsError
impl Sync for DescribeStandardsControlsError
impl Unpin for DescribeStandardsControlsError
impl UnwindSafe for DescribeStandardsControlsError
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