Trait EncodingAdapter

Source
pub trait EncodingAdapter
where Self: Sized,
{ type Parameters; type Delta; type Summary; type SelfEncoder: Encoder<Self>; type ParametersEncoder: Encoder<Self::Parameters>; type DeltaEncoder: Encoder<Self::Delta>; type SummaryEncoder: Encoder<Self::Summary>; }
Expand description

A contract state and it’s associated types which can be encoded and decoded via an specific encoder.

Required Associated Types§

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§