pub trait OptionParseError: From<Infallible> {
    const SEQUENCE_FORMAT_ERROR: Self;
}
Expand description

An error encountered while parsing an option or sequence of options.

Required Associated Constants§

source

const SEQUENCE_FORMAT_ERROR: Self

An error encountered while parsing a sequence of options.

If an error is encountered while parsing a sequence of Options, this is the error that will be emitted. This is the only type of error that can be generated by the Options parser itself. All other errors come from the user-provided OptionsImpl::parse, which parses the data of a single option.

Object Safety§

This trait is not object safe.

Implementors§