pub trait CodecExt {
    // Required method
    fn chain<T>(self, codec: T) -> ChainCodec<Self, T>
       where Self: Sized;
}
Expand description

Interface that provides extensions to the codec interface

Required Methods§

source

fn chain<T>(self, codec: T) -> ChainCodec<Self, T>where Self: Sized,

Chains this codec with another codec

Implementors§

source§

impl<C: Codec> CodecExt for C