Trait CodecExt

Source
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