Enum parse_arg::ValueError
source · pub enum ValueError<E> {
InvalidValue(E),
MissingValue,
}
Expand description
Error that can occur durin parsing command-line argument.
Variants§
InvalidValue(E)
The value couldn’t be parsed because of the invalid format.
MissingValue
The value to the argument is missing - too few arguments.
Implementations§
Trait Implementations§
source§impl<E: Clone> Clone for ValueError<E>
impl<E: Clone> Clone for ValueError<E>
source§fn clone(&self) -> ValueError<E>
fn clone(&self) -> ValueError<E>
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 more