#[non_exhaustive]#[repr(u8)]pub enum TimerClearedStatusData {
Recording = 0,
NoMatching = 1,
NoInfo = 2,
Cleared = 128,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for TimerClearedStatusData
impl Clone for TimerClearedStatusData
Source§fn clone(&self) -> TimerClearedStatusData
fn clone(&self) -> TimerClearedStatusData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimerClearedStatusData
impl Debug for TimerClearedStatusData
Source§impl From<TimerClearedStatusData> for u8
impl From<TimerClearedStatusData> for u8
Source§fn from(enum_value: TimerClearedStatusData) -> Self
fn from(enum_value: TimerClearedStatusData) -> Self
Converts to this type from the input type.
Source§impl Hash for TimerClearedStatusData
impl Hash for TimerClearedStatusData
Source§impl PartialEq for TimerClearedStatusData
impl PartialEq for TimerClearedStatusData
Source§impl TryFrom<u8> for TimerClearedStatusData
impl TryFrom<u8> for TimerClearedStatusData
Source§type Error = TryFromPrimitiveError<TimerClearedStatusData>
type Error = TryFromPrimitiveError<TimerClearedStatusData>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for TimerClearedStatusData
impl TryFromPrimitive for TimerClearedStatusData
const NAME: &'static str = "TimerClearedStatusData"
type Primitive = u8
type Error = TryFromPrimitiveError<TimerClearedStatusData>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for TimerClearedStatusData
impl Eq for TimerClearedStatusData
impl StructuralPartialEq for TimerClearedStatusData
Auto Trait Implementations§
impl Freeze for TimerClearedStatusData
impl RefUnwindSafe for TimerClearedStatusData
impl Send for TimerClearedStatusData
impl Sync for TimerClearedStatusData
impl Unpin for TimerClearedStatusData
impl UnsafeUnpin for TimerClearedStatusData
impl UnwindSafe for TimerClearedStatusData
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