pub enum PerformanceLevel {
Low = 1,
Medium = 2,
High = 3,
Critical = 4,
}Expand description
Performance requirement level.
Variants§
Trait Implementations§
Source§impl Clone for PerformanceLevel
impl Clone for PerformanceLevel
Source§fn clone(&self) -> PerformanceLevel
fn clone(&self) -> PerformanceLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PerformanceLevel
impl Debug for PerformanceLevel
Source§impl Ord for PerformanceLevel
impl Ord for PerformanceLevel
Source§fn cmp(&self, other: &PerformanceLevel) -> Ordering
fn cmp(&self, other: &PerformanceLevel) -> Ordering
1.21.0 · 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
Source§impl PartialEq for PerformanceLevel
impl PartialEq for PerformanceLevel
Source§impl PartialOrd for PerformanceLevel
impl PartialOrd for PerformanceLevel
impl Copy for PerformanceLevel
impl Eq for PerformanceLevel
impl StructuralPartialEq for PerformanceLevel
Auto Trait Implementations§
impl Freeze for PerformanceLevel
impl RefUnwindSafe for PerformanceLevel
impl Send for PerformanceLevel
impl Sync for PerformanceLevel
impl Unpin for PerformanceLevel
impl UnsafeUnpin for PerformanceLevel
impl UnwindSafe for PerformanceLevel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.