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