#[non_exhaustive]#[repr(u32)]pub enum DecCmd {
Start = 0,
Stop = 1,
Pause = 2,
Resume = 3,
Flush = 4,
}
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§
impl Copy for DecCmd
impl Eq for DecCmd
impl StructuralPartialEq for DecCmd
Auto Trait Implementations§
impl Freeze for DecCmd
impl RefUnwindSafe for DecCmd
impl Send for DecCmd
impl Sync for DecCmd
impl Unpin for DecCmd
impl UnwindSafe for DecCmd
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