pub enum CommandOutput {
Text(String),
Prompt(String),
Quit,
None,
}Expand description
The result of executing a command via the registry.
Variants§
Text(String)
Display text to the user.
Prompt(String)
Inject a prompt into the engine.
Quit
Quit the application.
None
No output (side effect only).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CommandOutput
impl RefUnwindSafe for CommandOutput
impl Send for CommandOutput
impl Sync for CommandOutput
impl Unpin for CommandOutput
impl UnsafeUnpin for CommandOutput
impl UnwindSafe for CommandOutput
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