pub enum QosClass {
Guaranteed,
Burstable,
BestEffort,
}Expand description
Kubernetes QoS class, as encoded in the kubelet’s cgroup layout (and status.qosClass).
Variants§
Guaranteed
Pod cgroup directly under kubepods (requests = limits for every container).
Burstable
BestEffort
Implementations§
Trait Implementations§
impl Copy for QosClass
Source§impl<'de> Deserialize<'de> for QosClass
impl<'de> Deserialize<'de> for QosClass
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
impl Eq for QosClass
Source§impl Ord for QosClass
impl Ord for QosClass
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for QosClass
impl PartialOrd for QosClass
impl StructuralPartialEq for QosClass
Auto Trait Implementations§
impl Forget for QosClass
impl Freeze for QosClass
impl Move for QosClass
impl RefUnwindSafe for QosClass
impl Send for QosClass
impl Sync for QosClass
impl Unpin for QosClass
impl UnsafeUnpin for QosClass
impl UnwindSafe for QosClass
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