pub trait CxDecodingApi {
// Required method
fn video_decoding_input_box(
&mut self,
index: LiveId,
f: Box<dyn FnMut(Vec<u8>) + Send>,
);
// Provided method
fn video_decoding_input<F>(&mut self, index: LiveId, f: F)
where F: FnMut(Vec<u8>) + Send + 'static { ... }
}Required Methods§
Provided Methods§
fn video_decoding_input<F>(&mut self, index: LiveId, f: F)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.