Skip to main content

Codec

Trait Codec 

Source
pub trait Codec: Decode + Encode { }
Expand description

Trait that allows zero-copy read/write of value-references to/from slices in LE format.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<S: Decode + Encode> Codec for S