pub enum RunResult {
Success,
ExitWithCode(i32),
RunTui(TuiArgs),
}Expand description
Result of running a CLI command.
Variants§
Success
Command completed successfully
ExitWithCode(i32)
Command requests the process to exit with the given code
RunTui(TuiArgs)
Caller should launch the TUI with the provided arguments
Trait Implementations§
impl Eq for RunResult
impl StructuralPartialEq for RunResult
Auto Trait Implementations§
impl Freeze for RunResult
impl RefUnwindSafe for RunResult
impl Send for RunResult
impl Sync for RunResult
impl Unpin for RunResult
impl UnwindSafe for RunResult
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