Enum coap_message_utils::option_extension::ExtensionError [−][src]
All the ways decoding an extension value can go wrong
Variants
The reserved value 15 was present in the nibble.
The remaining message did not contain the necessary bytes to read the next.
The encoded value exceeds the encodable maximum.
While the encoding itself can represent values up to 2^16 + OFFSET_2B
, all practical uses
are capped to 2^16
anyway, allowing the value to be stored in a u16 and to err outside
of that.
Trait Implementations
Auto Trait Implementations
impl Send for ExtensionError
[src]
impl Sync for ExtensionError
[src]
impl Unpin for ExtensionError
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,