pub enum ClusterMetricsGetMetricsError {
Status400(PveError),
Status401(PveError),
Status403(PveError),
Status404(PveError),
Status500(PveError),
Status501(PveError),
Status503(PveError),
UnknownValue(Value),
}Expand description
struct for typed errors of method cluster_metrics_get_metrics
Variants§
Status400(PveError)
Status401(PveError)
Status403(PveError)
Status404(PveError)
Status500(PveError)
Status501(PveError)
Status503(PveError)
UnknownValue(Value)
Trait Implementations§
Source§impl Clone for ClusterMetricsGetMetricsError
impl Clone for ClusterMetricsGetMetricsError
Source§fn clone(&self) -> ClusterMetricsGetMetricsError
fn clone(&self) -> ClusterMetricsGetMetricsError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for ClusterMetricsGetMetricsError
impl<'de> Deserialize<'de> for ClusterMetricsGetMetricsError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ClusterMetricsGetMetricsError
impl RefUnwindSafe for ClusterMetricsGetMetricsError
impl Send for ClusterMetricsGetMetricsError
impl Sync for ClusterMetricsGetMetricsError
impl Unpin for ClusterMetricsGetMetricsError
impl UnsafeUnpin for ClusterMetricsGetMetricsError
impl UnwindSafe for ClusterMetricsGetMetricsError
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