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 [raw::oscore_msg_native_t]
This is a low-level function used by the high-level wrappers in the liboscore crate.