pub fn with_inmemory_as_msg_native<'a, 'b: 'a, F, R>(
msg: &'a mut Message<'b>,
f: F,
) -> Rwhere
F: FnOnce(oscore_msg_native_t) -> R,Expand description
Make a coap_message_implementations::inmemory_write::Message usable as a liboscore::raw::oscore_msg_native_t
This is a low-level function used by the high-level wrappers in the liboscore crate.
This is the sync equivalent of the async async_with_inmemory_as_msg_native. Same function,
different color.