Trait coap_message::OptionNumber[][src]

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

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.

Implementors

impl OptionNumber for u16[src]

Loading content...