Trait coap_message::OptionNumber[][src]

pub trait OptionNumber: Into<u16> + TryFrom<u16> { }
Expand description

A CoAP option number

For its meaning, see the CoAP Option Numbers IANA subregistry or the coap_numbers::option module that lists them, and provides helpers for decoding their properties.

In analogy to Code, these are convertible to u16 and fallibly convertible from there.

Implementations on Foreign Types

Implementors