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§
Sourceconst SEQUENCE_FORMAT_ERROR: Self
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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.