pub enum StatusError {
ExceedInputVoltageLimit,
ExceedAllowedPOTLimit,
ExceedTemperatureLimit,
InvalidPacket,
OverloadDetected,
DriverFaultDetected,
EEPREGDistorded,
NoError,
}Expand description
The values of the status error register
Variants§
ExceedInputVoltageLimit
ExceedAllowedPOTLimit
ExceedTemperatureLimit
InvalidPacket
OverloadDetected
DriverFaultDetected
EEPREGDistorded
NoError
Trait Implementations§
Source§impl Clone for StatusError
impl Clone for StatusError
Source§fn clone(&self) -> StatusError
fn clone(&self) -> StatusError
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 StatusError
Source§impl Debug for StatusError
impl Debug for StatusError
impl Eq for StatusError
Source§impl PartialEq for StatusError
impl PartialEq for StatusError
Source§fn eq(&self, other: &StatusError) -> bool
fn eq(&self, other: &StatusError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StatusError
Auto Trait Implementations§
impl Freeze for StatusError
impl RefUnwindSafe for StatusError
impl Send for StatusError
impl Sync for StatusError
impl Unpin for StatusError
impl UnsafeUnpin for StatusError
impl UnwindSafe for StatusError
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