pub enum EnergyViolationKind {
JoulesExceeded,
WattsExceeded,
TempDeltaExceeded,
}Expand description
Kind of energy budget violation
Variants§
JoulesExceeded
Energy consumption (joules) exceeded
WattsExceeded
Power consumption (watts) exceeded
TempDeltaExceeded
Temperature delta exceeded
Trait Implementations§
Source§impl Clone for EnergyViolationKind
impl Clone for EnergyViolationKind
Source§fn clone(&self) -> EnergyViolationKind
fn clone(&self) -> EnergyViolationKind
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 EnergyViolationKind
impl Debug for EnergyViolationKind
Source§impl Display for EnergyViolationKind
impl Display for EnergyViolationKind
Source§impl Hash for EnergyViolationKind
impl Hash for EnergyViolationKind
Source§impl PartialEq for EnergyViolationKind
impl PartialEq for EnergyViolationKind
impl Copy for EnergyViolationKind
impl Eq for EnergyViolationKind
impl StructuralPartialEq for EnergyViolationKind
Auto Trait Implementations§
impl Freeze for EnergyViolationKind
impl RefUnwindSafe for EnergyViolationKind
impl Send for EnergyViolationKind
impl Sync for EnergyViolationKind
impl Unpin for EnergyViolationKind
impl UnwindSafe for EnergyViolationKind
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> 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.