[−][src]Trait async_coap::option::OptionInsertExt
Extension class for additional helper methods for OptionInsertExt
.
Required methods
fn insert_option<'a, T>(
&mut self,
key: OptionKey<T>,
value: T
) -> Result<(), Error> where
T: Into<OptionValue<'a>>,
&mut self,
key: OptionKey<T>,
value: T
) -> Result<(), Error> where
T: Into<OptionValue<'a>>,
Inserts an option into the message with a value of the appropriate type. Calling this method with out-of-order keys will incur a significant performance penalty.
Implementors
impl<O: ?Sized> OptionInsertExt for O where
O: OptionInsert,
[src]
O: OptionInsert,