pub enum BoundOutcome<R> {
Run(BoundInvocation<R>),
Help(ResolvedHelp),
Version(ResolvedVersion),
Docs(ResolvedDocs),
}Expand description
What an argv resolved to, with the run branch already bound to its handler.
Variants§
Implementations§
Source§impl<R> BoundOutcome<R>
impl<R> BoundOutcome<R>
Sourcepub fn output_plan(&self) -> &OutputPlan
pub fn output_plan(&self) -> &OutputPlan
The resolved sink plan, available before lifecycle handling or domain I/O.
Source§impl<R> BoundOutcome<R>
impl<R> BoundOutcome<R>
Sourcepub fn into_run(self) -> Result<BoundInvocation<R>, ExitCode>
pub fn into_run(self) -> Result<BoundInvocation<R>, ExitCode>
Finish registry lifecycle responses, or hand a bound domain call back.
Hosts install file sinks from output_plan() before calling this.
Trait Implementations§
Source§impl<R> Debug for BoundOutcome<R>
impl<R> Debug for BoundOutcome<R>
Auto Trait Implementations§
impl<R> Freeze for BoundOutcome<R>where
BoundInvocation<R>: Freeze,
impl<R> RefUnwindSafe for BoundOutcome<R>where
BoundInvocation<R>: RefUnwindSafe,
impl<R> Send for BoundOutcome<R>where
BoundInvocation<R>: Send,
impl<R> Sync for BoundOutcome<R>where
BoundInvocation<R>: Sync,
impl<R> Unpin for BoundOutcome<R>where
BoundInvocation<R>: Unpin,
impl<R> UnsafeUnpin for BoundOutcome<R>where
BoundInvocation<R>: UnsafeUnpin,
impl<R> UnwindSafe for BoundOutcome<R>where
BoundInvocation<R>: UnwindSafe,
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