pub trait SystemDispatcher {
type DeviceDiagnostics: DeviceDiagnosticsProvider;
// Required methods
fn log_debug_info<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_device_diagnostics(
&self,
interface: u64,
) -> Result<Self::DeviceDiagnostics, Error>;
}Required Associated Types§
Required Methods§
fn log_debug_info<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_device_diagnostics( &self, interface: u64, ) -> Result<Self::DeviceDiagnostics, Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".