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.
Trait Implementations§
Source§impl<R> Debug for BoundOutcome<R>
impl<R> Debug for BoundOutcome<R>
Auto Trait Implementations§
impl<R> Forget for BoundOutcome<R>
impl<R> Freeze for BoundOutcome<R>where
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, InvocationValue> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, InvocationValue)>>: Freeze,
*const LeafNode<String, Vec<ValueSource>> is !null: Freeze,
PhantomData<Box<(String, Vec<ValueSource>)>>: Freeze,
*const LeafNode<String, DeclaredArgument> is !null: Freeze,
PhantomData<Box<(String, DeclaredArgument)>>: Freeze,
*const LeafNode<String, SetValZST> is !null: Freeze,
PhantomData<Box<(String, SetValZST)>>: Freeze,
PhantomData<CliShape>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
*const LeafNode<String, CliValue> is !null: Freeze,
PhantomData<Box<(String, CliValue)>>: Freeze,
PhantomData<ArgSpec>: Freeze,
PhantomData<ExitCodeSpec>: Freeze,
PhantomData<CommandSpec>: Freeze,
*const LeafNode<Vec<String>, BTreeSet<String>> is !null: Freeze,
PhantomData<Box<(Vec<String>, BTreeSet<String>)>>: Freeze,
impl<R> Move for BoundOutcome<R>
impl<R> RefUnwindSafe for BoundOutcome<R>
impl<R> Send for BoundOutcome<R>where
RawVecInner: Send,
NodeRef<Owned, String, InvocationValue, LeafOrInternal>: Send,
BoxRaw<(String, InvocationValue)>: Send,
NodeRef<Owned, String, Vec<ValueSource>, LeafOrInternal>: Send,
BoxRaw<(String, Vec<ValueSource>)>: Send,
NodeRef<Owned, String, DeclaredArgument, LeafOrInternal>: Send,
BoxRaw<(String, DeclaredArgument)>: Send,
NodeRef<Owned, String, SetValZST, LeafOrInternal>: Send,
BoxRaw<(String, SetValZST)>: Send,
NodeRef<Owned, String, String, LeafOrInternal>: Send,
BoxRaw<(String, String)>: Send,
NodeRef<Owned, String, CliValue, LeafOrInternal>: Send,
BoxRaw<(String, CliValue)>: Send,
NodeRef<Owned, String, FixedValue, LeafOrInternal>: Send,
BoxRaw<(String, FixedValue)>: Send,
NodeRef<Owned, Vec<String>, BTreeSet<String>, LeafOrInternal>: Send,
BoxRaw<(Vec<String>, BTreeSet<String>)>: Send,
impl<R> Sync for BoundOutcome<R>where
RawVecInner: Sync,
NodeRef<Owned, String, InvocationValue, LeafOrInternal>: Sync,
BoxRaw<(String, InvocationValue)>: Sync,
NodeRef<Owned, String, Vec<ValueSource>, LeafOrInternal>: Sync,
BoxRaw<(String, Vec<ValueSource>)>: Sync,
NodeRef<Owned, String, DeclaredArgument, LeafOrInternal>: Sync,
BoxRaw<(String, DeclaredArgument)>: Sync,
NodeRef<Owned, String, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(String, SetValZST)>: Sync,
NodeRef<Owned, String, String, LeafOrInternal>: Sync,
BoxRaw<(String, String)>: Sync,
NodeRef<Owned, String, CliValue, LeafOrInternal>: Sync,
BoxRaw<(String, CliValue)>: Sync,
NodeRef<Owned, String, FixedValue, LeafOrInternal>: Sync,
BoxRaw<(String, FixedValue)>: Sync,
NodeRef<Owned, Vec<String>, BTreeSet<String>, LeafOrInternal>: Sync,
BoxRaw<(Vec<String>, BTreeSet<String>)>: Sync,
impl<R> Unpin for BoundOutcome<R>where
*const u8 is !null: Unpin,
*const LeafNode<String, InvocationValue> is !null: Unpin,
Box<(String, InvocationValue)>: Unpin,
*const LeafNode<String, Vec<ValueSource>> is !null: Unpin,
Box<(String, Vec<ValueSource>)>: Unpin,
*const LeafNode<String, DeclaredArgument> is !null: Unpin,
Box<(String, DeclaredArgument)>: Unpin,
*const LeafNode<String, SetValZST> is !null: Unpin,
Box<(String, SetValZST)>: Unpin,
*const LeafNode<String, String> is !null: Unpin,
Box<(String, String)>: Unpin,
*const LeafNode<String, CliValue> is !null: Unpin,
Box<(String, CliValue)>: Unpin,
*const LeafNode<String, FixedValue> is !null: Unpin,
Box<(String, FixedValue)>: Unpin,
*const LeafNode<Vec<String>, BTreeSet<String>> is !null: Unpin,
Box<(Vec<String>, BTreeSet<String>)>: Unpin,
impl<R> UnsafeUnpin for BoundOutcome<R>where
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, InvocationValue> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, InvocationValue)>>: UnsafeUnpin,
*const LeafNode<String, Vec<ValueSource>> is !null: UnsafeUnpin,
PhantomData<Box<(String, Vec<ValueSource>)>>: UnsafeUnpin,
*const LeafNode<String, DeclaredArgument> is !null: UnsafeUnpin,
PhantomData<Box<(String, DeclaredArgument)>>: UnsafeUnpin,
*const LeafNode<String, SetValZST> is !null: UnsafeUnpin,
PhantomData<Box<(String, SetValZST)>>: UnsafeUnpin,
PhantomData<CliShape>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
*const LeafNode<String, CliValue> is !null: UnsafeUnpin,
PhantomData<Box<(String, CliValue)>>: UnsafeUnpin,
PhantomData<ArgSpec>: UnsafeUnpin,
PhantomData<ExitCodeSpec>: UnsafeUnpin,
PhantomData<CommandSpec>: UnsafeUnpin,
*const LeafNode<Vec<String>, BTreeSet<String>> is !null: UnsafeUnpin,
PhantomData<Box<(Vec<String>, BTreeSet<String>)>>: UnsafeUnpin,
impl<R> UnwindSafe for BoundOutcome<R>where
RawVecInner: UnwindSafe,
BTreeMap<String, InvocationValue>: UnwindSafe,
BTreeMap<String, Vec<ValueSource>>: UnwindSafe,
BTreeMap<String, DeclaredArgument>: UnwindSafe,
BTreeMap<String, SetValZST>: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BTreeMap<String, CliValue>: UnwindSafe,
BTreeMap<String, FixedValue>: UnwindSafe,
BTreeMap<Vec<String>, BTreeSet<String>>: 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