Enum sarge::ArgParseError
source · pub enum ArgParseError {
InvalidInteger(String),
UnknownFlag(String),
UnexpectedArgument(String),
MissingValue(String),
ConsumedValue(String),
}Variants§
InvalidInteger(String)
UnknownFlag(String)
UnexpectedArgument(String)
MissingValue(String)
ConsumedValue(String)
Trait Implementations§
source§impl Clone for ArgParseError
impl Clone for ArgParseError
source§fn clone(&self) -> ArgParseError
fn clone(&self) -> ArgParseError
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 ArgParseError
impl Debug for ArgParseError
source§impl Display for ArgParseError
impl Display for ArgParseError
source§impl Error for ArgParseError
impl Error for ArgParseError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()