Enum coap_lite::CoapOption
source · [−]pub enum CoapOption {
Show 22 variants
IfMatch,
UriHost,
ETag,
IfNoneMatch,
Observe,
UriPort,
LocationPath,
Oscore,
UriPath,
ContentFormat,
MaxAge,
UriQuery,
Accept,
LocationQuery,
Block2,
Block1,
ProxyUri,
ProxyScheme,
Size1,
Size2,
NoResponse,
Unknown(u16),
}Expand description
The CoAP options.
Variants
IfMatch
UriHost
ETag
IfNoneMatch
Observe
UriPort
LocationPath
Oscore
UriPath
ContentFormat
MaxAge
UriQuery
Accept
LocationQuery
Block2
Block1
ProxyUri
ProxyScheme
Size1
Size2
NoResponse
Unknown(u16)
Trait Implementations
sourceimpl Clone for CoapOption
impl Clone for CoapOption
sourcefn clone(&self) -> CoapOption
fn clone(&self) -> CoapOption
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CoapOption
impl Debug for CoapOption
sourceimpl From<CoapOption> for u16
impl From<CoapOption> for u16
sourcefn from(option: CoapOption) -> u16
fn from(option: CoapOption) -> u16
Converts to this type from the input type.
sourceimpl From<u16> for CoapOption
impl From<u16> for CoapOption
sourcefn from(number: u16) -> CoapOption
fn from(number: u16) -> CoapOption
Converts to this type from the input type.
sourceimpl PartialEq<CoapOption> for CoapOption
impl PartialEq<CoapOption> for CoapOption
sourcefn eq(&self, other: &CoapOption) -> bool
fn eq(&self, other: &CoapOption) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CoapOption) -> bool
fn ne(&self, other: &CoapOption) -> bool
This method tests for !=.
impl Copy for CoapOption
impl StructuralPartialEq for CoapOption
Auto Trait Implementations
impl RefUnwindSafe for CoapOption
impl Send for CoapOption
impl Sync for CoapOption
impl Unpin for CoapOption
impl UnwindSafe for CoapOption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more