Trait domain::base::opt::OptData [−][src]
A type representing an OPT option.
The type needs to be able to construct the encoded option data via the
Compose
trait. In addition, it needs to be able report the option
code to use for the encoding via the code
method.
Required methods
fn code(&self) -> OptionCode
[src]
Returns the option code associated with this option.