Trait domain::base::opt::CodeOptData
source · pub trait CodeOptData {
const CODE: OptionCode;
}Expand description
A type for an OPT option for a single specific option code.
If an option can only ever process a single option, it can simply
implement Parse for parsing the data, Compose for composing the
data, and this trait to state the option code. OptData and
ParseOptData will then be available via blanket implementations.
Required Associated Constants§
sourceconst CODE: OptionCode
const CODE: OptionCode
The option code for this option.