pub trait EncodedFrame: Frame {
type Param: AsRef<[u8]>;
// Required methods
fn pts(&self) -> i64;
fn params(&self) -> impl Iterator<Item = &Self::Param>;
// Provided method
fn dts(&self) -> u64 { ... }
}Required Associated Types§
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".