[][src]Enum coap_lite::CoapOption

pub enum CoapOption {
    IfMatch,
    UriHost,
    ETag,
    IfNoneMatch,
    Observe,
    UriPort,
    LocationPath,
    Oscore,
    UriPath,
    ContentFormat,
    MaxAge,
    UriQuery,
    Accept,
    LocationQuery,
    Block2,
    Block1,
    ProxyUri,
    ProxyScheme,
    Size1,
    Size2,
    NoResponse,
}

The CoAP options.

Variants

IfMatchUriHostETagIfNoneMatchObserveUriPortLocationPathOscoreUriPathContentFormatMaxAgeUriQueryAcceptLocationQueryBlock2Block1ProxyUriProxySchemeSize1Size2NoResponse

Trait Implementations

impl Debug for CoapOption[src]

impl PartialEq<CoapOption> for CoapOption[src]

impl Copy for CoapOption[src]

impl TryFrom<usize> for CoapOption[src]

type Error = InvalidOption

The type returned in the event of a conversion error.

impl From<CoapOption> for usize[src]

impl Clone for CoapOption[src]

Auto Trait Implementations

impl Unpin for CoapOption

impl Send for CoapOption

impl Sync for CoapOption

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.