[−][src]Enum jnet::coap::OptionNumber
CoAP Option Numbers
Variants
Reserved
If-Match
Uri-Host
ETag
If-None-Patch
Uri-Port
Location-Path
Uri-Path
Content-Format
Max-Age
Uri-Query
Accept
Location-Query
Proxy-Uri
Proxy-Scheme
Size1
Reserved
Reserved
Reserved
Reserved
Unknown
Methods
impl OptionNumber
[src]
pub fn is_critical(&self) -> bool
[src]
Is this a critical option?
pub fn is_elective(&self) -> bool
[src]
Is this an elective option?
pub fn is_unsafe(&self) -> bool
[src]
Is this option UnSafe to forward?
Trait Implementations
impl From<u16> for OptionNumber
[src]
fn from(n: u16) -> OptionNumber
[src]
impl From<OptionNumber> for u16
[src]
fn from(e: OptionNumber) -> u16
[src]
impl PartialEq<OptionNumber> for OptionNumber
[src]
fn eq(&self, other: &OptionNumber) -> bool
[src]
fn ne(&self, other: &OptionNumber) -> bool
[src]
impl PartialOrd<OptionNumber> for OptionNumber
[src]
fn partial_cmp(&self, other: &OptionNumber) -> Option<Ordering>
[src]
fn lt(&self, other: &OptionNumber) -> bool
[src]
fn le(&self, other: &OptionNumber) -> bool
[src]
fn gt(&self, other: &OptionNumber) -> bool
[src]
fn ge(&self, other: &OptionNumber) -> bool
[src]
impl Debug for OptionNumber
[src]
impl Copy for OptionNumber
[src]
impl Clone for OptionNumber
[src]
fn clone(&self) -> OptionNumber
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self