/// Instantiate a new `CodecRegistry`.
Instantiate a new `CodecRegistry`.
Instantiate a new ` CodecRegistry ` .
pub fn new() -> Self {
        CodecRegistry {
            codecs: HashMap::new(),
        }
    }
pub fn new ( ) -> Self { CodecRegistry { codecs : HashMap :: new ( ) , } }
Instantiate a new `CodecRegistry`.
Instantiate a new ` CodecRegistry ` .