Skip to main content

CodecInformation

Trait CodecInformation 

Source
pub trait CodecInformation {
    // Required methods
    fn id(&self) -> CodecID;
    fn name(&self) -> &'static str;
}

Required Methods§

Source

fn id(&self) -> CodecID

Source

fn name(&self) -> &'static str

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§