pub enum TransitionPlan {
NoOp,
Apply {
p2: u8,
},
}Expand description
Outcome of a legality check: either a no-op, or the P2 byte to send.
Variants§
Trait Implementations§
Source§impl Clone for TransitionPlan
impl Clone for TransitionPlan
Source§fn clone(&self) -> TransitionPlan
fn clone(&self) -> TransitionPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TransitionPlan
Source§impl Debug for TransitionPlan
impl Debug for TransitionPlan
impl Eq for TransitionPlan
Source§impl PartialEq for TransitionPlan
impl PartialEq for TransitionPlan
impl StructuralPartialEq for TransitionPlan
Auto Trait Implementations§
impl Freeze for TransitionPlan
impl RefUnwindSafe for TransitionPlan
impl Send for TransitionPlan
impl Sync for TransitionPlan
impl Unpin for TransitionPlan
impl UnsafeUnpin for TransitionPlan
impl UnwindSafe for TransitionPlan
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