Enum lm75::FaultQueue
source · pub enum FaultQueue {
_1,
_2,
_4,
_6,
}
Expand description
Fault queue
Number of consecutive faults necessary to trigger OS condition.
Variants§
_1
1 fault will trigger OS condition (default)
_2
2 consecutive faults will trigger OS condition
_4
4 consecutive faults will trigger OS condition
_6
6 consecutive faults will trigger OS condition
Trait Implementations§
source§impl Clone for FaultQueue
impl Clone for FaultQueue
source§fn clone(&self) -> FaultQueue
fn clone(&self) -> FaultQueue
Returns a copy 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 FaultQueue
impl Debug for FaultQueue
source§impl Default for FaultQueue
impl Default for FaultQueue
source§fn default() -> FaultQueue
fn default() -> FaultQueue
Returns the “default value” for a type. Read more
source§impl Hash for FaultQueue
impl Hash for FaultQueue
source§impl Ord for FaultQueue
impl Ord for FaultQueue
source§fn cmp(&self, other: &FaultQueue) -> Ordering
fn cmp(&self, other: &FaultQueue) -> 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 FaultQueue
impl PartialEq for FaultQueue
source§fn eq(&self, other: &FaultQueue) -> bool
fn eq(&self, other: &FaultQueue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FaultQueue
impl PartialOrd for FaultQueue
source§fn partial_cmp(&self, other: &FaultQueue) -> Option<Ordering>
fn partial_cmp(&self, other: &FaultQueue) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for FaultQueue
impl Eq for FaultQueue
impl StructuralEq for FaultQueue
impl StructuralPartialEq for FaultQueue
Auto Trait Implementations§
impl RefUnwindSafe for FaultQueue
impl Send for FaultQueue
impl Sync for FaultQueue
impl Unpin for FaultQueue
impl UnwindSafe for FaultQueue
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