pub enum PreparedAction {
PrintVersion,
PrintHelp,
Run(Box<GatedRun>),
}Expand description
What a compatibility invocation should do after parsing.
Variants§
PrintVersion
Print the compatibility version string and exit 0.
PrintHelp
Print entry-point-specific help and exit 0.
Run(Box<GatedRun>)
Run the prepared compatibility execution.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PreparedAction
impl RefUnwindSafe for PreparedAction
impl Send for PreparedAction
impl Sync for PreparedAction
impl Unpin for PreparedAction
impl UnsafeUnpin for PreparedAction
impl UnwindSafe for PreparedAction
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