pub trait UsbReporterDriverBuilder {
type Output: UsbReporterDriver;
type Error: MaybeFormat;
// Required method
async fn build(
self,
) -> Result<(Self::Output, impl Future<Output = ()> + 'static), Self::Error>;
}
Required Associated Types§
type Output: UsbReporterDriver
type Error: MaybeFormat
Required Methods§
async fn build( self, ) -> Result<(Self::Output, impl Future<Output = ()> + 'static), Self::Error>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.