Skip to main content

DeviceListenerProxyInterface

Trait DeviceListenerProxyInterface 

Source
pub trait DeviceListenerProxyInterface: Send + Sync {
    // Required method
    fn on_device_changed(&self, event: &DeviceEvent) -> Result<(), Error>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§