Enum combu::action::ActionResult
source · [−]pub enum ActionResult {
Done,
ParentActionRequest(Command, Context),
Result(Command, Context),
Custom(Box<dyn Debug>),
}
Expand description
ActionResult stores result of action. Commandのアクション結果を格納し、runの結果として返却するためのenum。
Variants
Done
Done shows that action is done.
ParentActionRequest(Command, Context)
ParentActionRequest shows that action requested to show help.
Result(Command, Context)
Shows return Context, reached Command and Action as result for parse and run.
Custom(Box<dyn Debug>)
Custom result(can have Box including dyn Debug).
Implementations
sourceimpl ActionResult
impl ActionResult
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ActionResult
impl !Send for ActionResult
impl !Sync for ActionResult
impl Unpin for ActionResult
impl !UnwindSafe for ActionResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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