Trait CxDecodingApi

Source
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§

Source

fn video_decoding_input_box( &mut self, index: LiveId, f: Box<dyn FnMut(Vec<u8>) + Send>, )

Provided Methods§

Source

fn video_decoding_input<F>(&mut self, index: LiveId, f: F)
where F: FnMut(Vec<u8>) + Send + 'static,

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.

Implementors§