#[non_exhaustive]pub enum CommitKind {
Real {
arms_flip: bool,
},
Test,
}Expand description
What one commit was.
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.
Real
A real commit. May arm a page-flip event.
Test
A TEST_ONLY commit, which applies nothing to hardware.
Trait Implementations§
Source§impl Clone for CommitKind
impl Clone for CommitKind
impl Copy for CommitKind
Source§impl Debug for CommitKind
impl Debug for CommitKind
impl Eq for CommitKind
Source§impl PartialEq for CommitKind
impl PartialEq for CommitKind
impl StructuralPartialEq for CommitKind
Auto Trait Implementations§
impl Freeze for CommitKind
impl RefUnwindSafe for CommitKind
impl Send for CommitKind
impl Sync for CommitKind
impl Unpin for CommitKind
impl UnsafeUnpin for CommitKind
impl UnwindSafe for CommitKind
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