Struct coap_lite::block_handler::BlockValue
source · [−]Expand description
The block option value.
Fields
num: u16more: boolsize_exponent: u8Implementations
Trait Implementations
sourceimpl Clone for BlockValue
impl Clone for BlockValue
sourcefn clone(&self) -> BlockValue
fn clone(&self) -> BlockValue
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 BlockValue
impl Debug for BlockValue
sourceimpl From<BlockValue> for Vec<u8>
impl From<BlockValue> for Vec<u8>
sourcefn from(block_value: BlockValue) -> Vec<u8>
fn from(block_value: BlockValue) -> Vec<u8>
Converts to this type from the input type.
sourceimpl PartialEq<BlockValue> for BlockValue
impl PartialEq<BlockValue> for BlockValue
sourcefn eq(&self, other: &BlockValue) -> bool
fn eq(&self, other: &BlockValue) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &BlockValue) -> bool
fn ne(&self, other: &BlockValue) -> bool
This method tests for !=.
impl Eq for BlockValue
impl OptionValueType for BlockValue
impl StructuralEq for BlockValue
impl StructuralPartialEq for BlockValue
Auto Trait Implementations
impl RefUnwindSafe for BlockValue
impl Send for BlockValue
impl Sync for BlockValue
impl Unpin for BlockValue
impl UnwindSafe for BlockValue
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