Trait distant_net::common::CodecExt
source · pub trait CodecExt {
fn chain<T>(self, codec: T) -> ChainCodec<Self, T>
where
Self: Sized;
}Expand description
Interface that provides extensions to the codec interface
Required Methods
sourcefn chain<T>(self, codec: T) -> ChainCodec<Self, T>where
Self: Sized,
fn chain<T>(self, codec: T) -> ChainCodec<Self, T>where
Self: Sized,
Chains this codec with another codec