[][src]Module mynewt::encoding

Mynewt Encoding API for Rust

Modules

coap_context

COAP encoder state used by CoAP encoding macros

json

Contains Rust bindings for Mynewt JSON Encoding API encoding/json

macros

Mynewt Macros for Rust. Note that macros defined locally should be called with $crate::, like $crate::parse. This works with Rust compiler versions 1.30 and later. See https://doc.rust-lang.org/stable/edition-guide/rust-2018/macros/macro-changes.html To see the expanded macros: cargo rustc -- -Z unstable-options --pretty expanded

tinycbor

Contains Rust bindings for Mynewt TinyCBOR Encoding API encoding/tinycbor

Constants

APPLICATION_CBOR

CoAP Payload is in CBOR format

APPLICATION_JSON

CoAP Payload is in JSON format

Statics

g_encoder

Global CBOR encoder

root_map

Global CBOR root map