Enum parse_arg::ParseArgError
source · pub enum ParseArgError<E> {
FromStr(E),
InvalidUtf8,
}Expand description
Possible error when parsing certain arguments.
This is used for bridging implementations of FromStr, because they require UTF-8 encoded inputs.
Variants§
Trait Implementations§
source§impl<E: Clone> Clone for ParseArgError<E>
impl<E: Clone> Clone for ParseArgError<E>
source§fn clone(&self) -> ParseArgError<E>
fn clone(&self) -> ParseArgError<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 moresource§impl<E: Display> Debug for ParseArgError<E>
impl<E: Display> Debug for ParseArgError<E>
Debug is implemented via Display in order to make using ? operator in main nice.