Trait packet::records::options::OptionParseLayout
source · 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 Types§
sourcetype Error: OptionParseError
type Error: OptionParseError
The type of errors that may be returned by a call to
OptionsImpl::parse
.
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).
Object Safety§
This trait is not object safe.