pub enum GetResourceMetricsError {
InternalServiceError(String),
InvalidArgument(String),
NotAuthorized(String),
}
Expand description
Errors returned by GetResourceMetrics
Variants§
InternalServiceError(String)
The request failed due to an unknown error.
InvalidArgument(String)
One of the arguments provided is invalid for this request.
NotAuthorized(String)
The user is not authorized to perform this request.
Implementations§
Source§impl GetResourceMetricsError
impl GetResourceMetricsError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetResourceMetricsError>
Trait Implementations§
Source§impl Debug for GetResourceMetricsError
impl Debug for GetResourceMetricsError
Source§impl Display for GetResourceMetricsError
impl Display for GetResourceMetricsError
Source§impl Error for GetResourceMetricsError
impl Error for GetResourceMetricsError
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 GetResourceMetricsError
impl PartialEq for GetResourceMetricsError
impl StructuralPartialEq for GetResourceMetricsError
Auto Trait Implementations§
impl Freeze for GetResourceMetricsError
impl RefUnwindSafe for GetResourceMetricsError
impl Send for GetResourceMetricsError
impl Sync for GetResourceMetricsError
impl Unpin for GetResourceMetricsError
impl UnwindSafe for GetResourceMetricsError
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