pub trait VirtualCameraDeviceProxyInterface: Send + Sync {
type AddToDeviceWatcherResponseFut: Future<Output = Result<VirtualCameraDeviceAddToDeviceWatcherResult, Error>> + Send;
// Required methods
fn add_to_device_watcher(&self) -> Self::AddToDeviceWatcherResponseFut;
fn add_stream_config(
&self,
index: u64,
config: &StreamConfig,
) -> Result<(), Error>;
}Required Associated Types§
type AddToDeviceWatcherResponseFut: Future<Output = Result<VirtualCameraDeviceAddToDeviceWatcherResult, Error>> + Send
Required Methods§
fn add_to_device_watcher(&self) -> Self::AddToDeviceWatcherResponseFut
fn add_stream_config( &self, index: u64, config: &StreamConfig, ) -> Result<(), Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".