#[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 TryFromPrimitive for Alert
impl TryFromPrimitive for Alert
const NAME: &'static str = "Alert"
type Primitive = u32
type Error = TryFromPrimitiveError<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,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)