Enum tiny_cli::ArgParseCause
source · pub enum ArgParseCause {
Help,
NotUtf8(Utf8Error),
MissingRequiredField(&'static str),
UnrecognizedArg(String),
ExpectedArgFollowing(&'static str),
NoDashStart,
FailedParse(&'static str),
}Variants§
Help
NotUtf8(Utf8Error)
MissingRequiredField(&'static str)
UnrecognizedArg(String)
ExpectedArgFollowing(&'static str)
NoDashStart
FailedParse(&'static str)
Trait Implementations§
source§impl Clone for ArgParseCause
impl Clone for ArgParseCause
source§fn clone(&self) -> ArgParseCause
fn clone(&self) -> ArgParseCause
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ArgParseCause
impl Debug for ArgParseCause
source§impl PartialEq<ArgParseCause> for ArgParseCause
impl PartialEq<ArgParseCause> for ArgParseCause
source§fn eq(&self, other: &ArgParseCause) -> bool
fn eq(&self, other: &ArgParseCause) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ArgParseCause
impl StructuralEq for ArgParseCause
impl StructuralPartialEq for ArgParseCause
Auto Trait Implementations§
impl RefUnwindSafe for ArgParseCause
impl Send for ArgParseCause
impl Sync for ArgParseCause
impl Unpin for ArgParseCause
impl UnwindSafe for ArgParseCause
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