Trait domain::base::opt::CodeOptData[][src]

pub trait CodeOptData {
    const CODE: OptionCode;
}

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.

Associated Constants

const CODE: OptionCode[src]

The option code for this option.

Loading content...

Implementors

Loading content...