pub trait OptionParseLayout: OptionLayout {
type Error: OptionParseError;
const END_OF_OPTIONS: Option<Self::KindLenField>;
const NOP: Option<Self::KindLenField>;
}
Expand description
Information about an option’s layout required in order to parse it.
Required Associated Constants§
Sourceconst END_OF_OPTIONS: Option<Self::KindLenField>
const END_OF_OPTIONS: Option<Self::KindLenField>
The End of options kind (if one exists).
Sourceconst NOP: Option<Self::KindLenField>
const NOP: Option<Self::KindLenField>
The No-op kind (if one exists).
Required Associated Types§
Sourcetype Error: OptionParseError
type Error: OptionParseError
The type of errors that may be returned by a call to
OptionsImpl::parse
.
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.