pub enum BusErrorMode {
ErrorActive,
ErrorPassive,
BusOff,
}
Expand description
Bus error modes.
Contrary to the BusError
enum which also includes last-seen acute protocol
errors, this enum includes only the mutually exclusive bus error modes.
Variants§
ErrorActive
Error active mode (default). Controller will transmit an active error frame upon protocol error.
ErrorPassive
Error passive mode. An error counter exceeded 127. Controller will transmit a passive error frame upon protocol error.
BusOff
Bus off mode. The transmit error counter exceeded 255. Controller is not participating in bus traffic.
Trait Implementations§
source§impl Debug for BusErrorMode
impl Debug for BusErrorMode
Auto Trait Implementations§
impl Freeze for BusErrorMode
impl RefUnwindSafe for BusErrorMode
impl Send for BusErrorMode
impl Sync for BusErrorMode
impl Unpin for BusErrorMode
impl UnwindSafe for BusErrorMode
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