pub enum VirtualCameraDeviceRequest {
AddToDeviceWatcher {
responder: VirtualCameraDeviceAddToDeviceWatcherResponder,
},
AddStreamConfig {
index: u64,
config: StreamConfig,
control_handle: VirtualCameraDeviceControlHandle,
},
}
Expand description
This interface provides a way for test clients to set up fake streams using the ‘virtual’ camera.
Variants§
Implementations§
Source§impl VirtualCameraDeviceRequest
impl VirtualCameraDeviceRequest
pub fn into_add_to_device_watcher( self, ) -> Option<VirtualCameraDeviceAddToDeviceWatcherResponder>
pub fn into_add_stream_config( self, ) -> Option<(u64, StreamConfig, VirtualCameraDeviceControlHandle)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VirtualCameraDeviceRequest
impl !RefUnwindSafe for VirtualCameraDeviceRequest
impl Send for VirtualCameraDeviceRequest
impl Sync for VirtualCameraDeviceRequest
impl Unpin for VirtualCameraDeviceRequest
impl !UnwindSafe for VirtualCameraDeviceRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more