pub fn codec(name: &str) -> Result<&'static dyn Codec>
The codec registered under name.
name
Names the known formats when name is not one of them.