Expand description
Backend for liboscore’s native message API
This is (and, unless one wants to go through Box<dyn ReadableMessage>
) necessarily a bit
opinionated, in that it binds to a concrete message type (or set thereof).
It wraps different implementations of coap-message in an enum.
Structs§
- oscore_
msg_ native_ optiter_ t - oscore_
msg_ native_ t - The message type is conveniently already more pointer-like; given that we pass around pointers to a concrete type (albeit possibly an enum), it’s just that.
Enums§
- c_void
- Void stand-in recognized by the cbindgen library by its name
- oscore_
msgerr_ native_ t - Errors out of message operations
Traits§
- With
MsgNative - Sealed helper trait to implement with_msg_native
Functions§
- oscore_
msg_ native_ append_ option - oscore_
msg_ native_ get_ code - oscore_
msg_ native_ map_ payload - oscore_
msg_ native_ optiter_ finish - oscore_
msg_ native_ optiter_ init - oscore_
msg_ native_ optiter_ next - oscore_
msg_ native_ set_ code - oscore_
msg_ native_ trim_ payload - oscore_
msg_ native_ update_ option - oscore_
msgerr_ native_ is_ error - with_
inmemory_ as_ msg_ native - Make a coap_message_implementations::inmemory_write::Message usable as a [raw::oscore_msg_native_t]