[][src]Struct libcoap_sys::coap_option

#[repr(C)]
pub struct coap_option {
    pub key: u16,
    pub length: c_uint,
}

@deprecated Use coap_optlist_t instead.

Structures for more convenient handling of options. (To be used with ordered coap_list_t.) The option's data will be added to the end of the coap_option structure (see macro COAP_OPTION_DATA).

Fields

key: u16length: c_uint

Trait Implementations

impl Clone for coap_option[src]

impl Copy for coap_option[src]

impl Debug for coap_option[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.