pub enum FaultCount {
One,
Two,
Four,
Eight,
}Expand description
The number of consecutive fault events that trigger a report (configuration bits 1:0).
Variants§
One
One fault (the default).
Two
Two consecutive faults.
Four
Four consecutive faults.
Eight
Eight consecutive faults.
Implementations§
Trait Implementations§
Source§impl Clone for FaultCount
impl Clone for FaultCount
Source§fn clone(&self) -> FaultCount
fn clone(&self) -> FaultCount
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 moreimpl Copy for FaultCount
Source§impl Debug for FaultCount
impl Debug for FaultCount
impl Eq for FaultCount
Source§impl PartialEq for FaultCount
impl PartialEq for FaultCount
Source§fn eq(&self, other: &FaultCount) -> bool
fn eq(&self, other: &FaultCount) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FaultCount
Auto Trait Implementations§
impl Freeze for FaultCount
impl RefUnwindSafe for FaultCount
impl Send for FaultCount
impl Sync for FaultCount
impl Unpin for FaultCount
impl UnsafeUnpin for FaultCount
impl UnwindSafe for FaultCount
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