pub type TFramedChannel<T> = Framed<Pin<Box<dyn Channel>>, GenericCodec<T>>;