Skip to main content

Codec

Trait Codec 

Source
pub trait Codec {
    type Data;

    const ID: &'static str;
}

Required Associated Constants§

Source

const ID: &'static str

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl Codec for H264

Source§

const ID: &'static str = "h264"

Source§

type Data = Bytes