pub enum CliOutcome {
Run(ResolvedInvocation),
Help(ResolvedHelp),
Version(ResolvedVersion),
Docs(ResolvedDocs),
}Expand description
What an argv resolved to.
Variants§
Trait Implementations§
Source§impl Clone for CliOutcome
impl Clone for CliOutcome
Source§impl Debug for CliOutcome
impl Debug for CliOutcome
Source§impl PartialEq for CliOutcome
impl PartialEq for CliOutcome
impl StructuralPartialEq for CliOutcome
Auto Trait Implementations§
impl Forget for CliOutcome
impl Freeze for CliOutcomewhere
*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 Move for CliOutcome
impl RefUnwindSafe for CliOutcome
impl Send for CliOutcomewhere
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 Sync for CliOutcomewhere
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 Unpin for CliOutcomewhere
*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 UnsafeUnpin for CliOutcomewhere
*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 UnwindSafe for CliOutcomewhere
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