pub enum CreateCustomMetricError {
InternalFailure(String),
InvalidRequest(String),
LimitExceeded(String),
ResourceAlreadyExists(String),
Throttling(String),
}Expand description
Errors returned by CreateCustomMetric
Variants§
InternalFailure(String)
An unexpected error has occurred.
InvalidRequest(String)
The request is not valid.
LimitExceeded(String)
A limit has been exceeded.
ResourceAlreadyExists(String)
The resource already exists.
Throttling(String)
The rate exceeds the limit.
Implementations§
Source§impl CreateCustomMetricError
impl CreateCustomMetricError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateCustomMetricError>
Trait Implementations§
Source§impl Debug for CreateCustomMetricError
impl Debug for CreateCustomMetricError
Source§impl Display for CreateCustomMetricError
impl Display for CreateCustomMetricError
Source§impl Error for CreateCustomMetricError
impl Error for CreateCustomMetricError
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 CreateCustomMetricError
impl PartialEq for CreateCustomMetricError
impl StructuralPartialEq for CreateCustomMetricError
Auto Trait Implementations§
impl Freeze for CreateCustomMetricError
impl RefUnwindSafe for CreateCustomMetricError
impl Send for CreateCustomMetricError
impl Sync for CreateCustomMetricError
impl Unpin for CreateCustomMetricError
impl UnwindSafe for CreateCustomMetricError
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