Trait USBDevice

Source
pub trait USBDevice {
    // Required method
    fn find(
        list: &DeviceList<Context>,
        reset: bool,
    ) -> Result<Option<Box<Self>>>;
}

Required Methods§

Source

fn find(list: &DeviceList<Context>, reset: bool) -> Result<Option<Box<Self>>>

USBデバイスを検索し操作可能なデバイスを返す。

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.

Implementors§