pub trait XhciBackendDeviceProvider: Send + Sync {
    // Required methods
    fn start(
        &mut self,
        fail_handle: Arc<dyn FailHandle>,
        event_loop: Arc<EventLoop>,
        hub: Arc<UsbHub>
    ) -> Result<()>;
    fn keep_rds(&self) -> Vec<RawDescriptor>;
}
Expand description

Xhci backend provider will run on an EventLoop and connect new devices to usb ports.

Required Methods§

source

fn start( &mut self, fail_handle: Arc<dyn FailHandle>, event_loop: Arc<EventLoop>, hub: Arc<UsbHub> ) -> Result<()>

Start the provider on EventLoop.

source

fn keep_rds(&self) -> Vec<RawDescriptor>

Keep raw descriptors that should be kept open.

Implementors§