Enum twilly_cli::ActionChoice
source · pub enum ActionChoice {
Back,
Exit,
Other(String),
}Expand description
The possible actions a user may make.
Variants§
Back
Navigate backwards in the menu.
Exit
Exit the application completely.
Other(String)
An option provided, dependent on the state of the application.
Auto Trait Implementations§
impl Freeze for ActionChoice
impl RefUnwindSafe for ActionChoice
impl Send for ActionChoice
impl Sync for ActionChoice
impl Unpin for ActionChoice
impl UnwindSafe for ActionChoice
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