pub enum Action {
Run(Box<Options>),
Version,
Help,
Config,
Wrong(String),
}Expand description
What the shell was asked to do.
Variants§
Run(Box<Options>)
Open a database and run.
Version
Print the version and stop.
Help
Print the usage and stop.
Config
Print the build configuration and stop.
Wrong(String)
The command line does not make sense, and this says why.
Trait Implementations§
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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