pub enum ErrorState {
Active,
Passive,
BusOff,
}Available on crate feature
unstable only.Expand description
Fault confinement state (TRM 38.3.10).
The error warning limit is not a state of its own; see
super::CanFd::error_warning.
Variants§
Active
Takes part in the bus normally and signals errors actively.
Passive
Still communicates, but signals errors passively.
BusOff
Off the bus after TEC passed 255.
Trait Implementations§
Source§impl Clone for ErrorState
impl Clone for ErrorState
impl Copy for ErrorState
Source§impl Debug for ErrorState
impl Debug for ErrorState
impl Eq for ErrorState
Source§impl Hash for ErrorState
impl Hash for ErrorState
Source§impl PartialEq for ErrorState
impl PartialEq for ErrorState
impl StructuralPartialEq for ErrorState
Auto Trait Implementations§
impl Freeze for ErrorState
impl RefUnwindSafe for ErrorState
impl Send for ErrorState
impl Sync for ErrorState
impl Unpin for ErrorState
impl UnsafeUnpin for ErrorState
impl UnwindSafe for ErrorState
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)