Enum cmdr::CommandResult
source · pub enum CommandResult {
Ok,
Quit,
}
Expand description
A command result. returned by one of the client-implemented command methods
Variants
Ok
Result Ok, ready to go on to the next command
Quit
Result Quit, close the application and stop
Trait Implementations
sourceimpl PartialEq<CommandResult> for CommandResult
impl PartialEq<CommandResult> for CommandResult
sourcefn eq(&self, other: &CommandResult) -> bool
fn eq(&self, other: &CommandResult) -> bool
impl StructuralPartialEq for CommandResult
Auto Trait Implementations
impl RefUnwindSafe for CommandResult
impl Send for CommandResult
impl Sync for CommandResult
impl Unpin for CommandResult
impl UnwindSafe for CommandResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more