pub trait VideoStreamDecoderManager:
Send
+ Sync
+ 'static {
// Required method
fn create_stream_decoder(
&self,
component_id: &str,
) -> Result<Box<dyn VideoStreamDecoderHandle>, PlatformError>;
}Required Methods§
fn create_stream_decoder( &self, component_id: &str, ) -> Result<Box<dyn VideoStreamDecoderHandle>, PlatformError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".