Enum embedded_cli::service::ParseError
source · pub enum ParseError<'a> {
NotEnoughArguments,
Other(&'a str),
ParseArgumentError {
value: &'a str,
},
TooManyArguments {
expected: usize,
},
UnknownFlag {
flag: char,
},
UnknownOption {
name: &'a str,
},
UnknownCommand,
}Variants§
NotEnoughArguments
Other(&'a str)
ParseArgumentError
TooManyArguments
UnknownFlag
UnknownOption
UnknownCommand
Trait Implementations§
source§impl<'a> Debug for ParseError<'a>
impl<'a> Debug for ParseError<'a>
source§impl<'a, E: Error> From<ParseError<'a>> for ProcessError<'a, E>
impl<'a, E: Error> From<ParseError<'a>> for ProcessError<'a, E>
source§fn from(value: ParseError<'a>) -> Self
fn from(value: ParseError<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ParseError<'a>
impl<'a> Send for ParseError<'a>
impl<'a> Sync for ParseError<'a>
impl<'a> Unpin for ParseError<'a>
impl<'a> UnwindSafe for ParseError<'a>
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