Skip to main content

DefaultCodec

Type Alias DefaultCodec 

Source
pub type DefaultCodec = JsonCodec;
Expand description

The codec used when an include / publisher call does not name one explicitly.

Resolved at compile time by feature priority: json, then cbor, then msgpack. It exists only when at least one codec feature is enabled; with none, every call site must name a codec.

Aliased Typeยง

pub struct DefaultCodec;