parity_scale_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", so this trait is not object safe.

Implementors§

Source§

impl<S: Decode + Encode> Codec for S