Enum esp_idf_svc::hal::can::Alert
source · #[repr(u32)]pub enum Alert {
Show 18 variants
TransmitIdle = 1,
Success = 2,
Received = 3,
BelowErrorWarning = 4,
ActiveError = 5,
RecoveryInProgress = 6,
BusRecovered = 7,
ArbLost = 8,
AboveErrorWarning = 9,
BusError = 10,
TransmitFailed = 11,
ReceiveQueueFull = 12,
ErrorPass = 13,
BusOffline = 14,
ReceiveFifoOverflow = 15,
TransmitRetried = 16,
PeripheralReset = 17,
AlertAndLog = 18,
}
Variants§
TransmitIdle = 1
Success = 2
Received = 3
BelowErrorWarning = 4
ActiveError = 5
RecoveryInProgress = 6
BusRecovered = 7
ArbLost = 8
AboveErrorWarning = 9
BusError = 10
TransmitFailed = 11
ReceiveQueueFull = 12
ErrorPass = 13
BusOffline = 14
ReceiveFifoOverflow = 15
TransmitRetried = 16
PeripheralReset = 17
AlertAndLog = 18
Trait Implementations§
source§impl PartialEq<EnumSet<Alert>> for Alert
impl PartialEq<EnumSet<Alert>> for Alert
source§impl TryFrom<u32> for Alert
impl TryFrom<u32> for Alert
§type Error = TryFromPrimitiveError<Alert>
type Error = TryFromPrimitiveError<Alert>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for Alert
impl TryFromPrimitive for Alert
type Primitive = u32
type Error = TryFromPrimitiveError<Alert>
const NAME: &'static str = "Alert"
fn try_from_primitive( number: <Alert as TryFromPrimitive>::Primitive, ) -> Result<Alert, TryFromPrimitiveError<Alert>>
impl Copy for Alert
impl EnumSetType for Alert
impl Eq for Alert
Auto Trait Implementations§
impl Freeze for Alert
impl RefUnwindSafe for Alert
impl Send for Alert
impl Sync for Alert
impl Unpin for Alert
impl UnwindSafe for Alert
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,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)