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§

source

type Error: OptionParseError

The type of errors that may be returned by a call to OptionsImpl::parse.

Required Associated Constants§

source

const END_OF_OPTIONS: Option<Self::KindLenField>

The End of options kind (if one exists).

source

const NOP: Option<Self::KindLenField>

The No-op kind (if one exists).

Object Safety§

This trait is not object safe.

Implementors§