Module cbor

Module cbor 

Source
Expand description

This module demonstrates the use of coap_handler_implementations::TypeRenderable

Structs§

MyCBOR
A demo struct with several members, all of which implement minicbor traits.
MyCborView
TryingThroughMutex
Helper struct that accesses a TypeRenderable intrough an Arc<Mutex<_>>, thus allowing easiy simultaneous access.

Functions§

double_cbor_with_access
Build a handler that gives access to a single MyCBOR object on two paths, and to the rest of the application
single_cbor_tree
Build a handler that gives access to a single MyCBOR object