Trait tokio_hidg::Class

source ·
pub trait Class {
    type Input;
    type Output;

    // Required methods
    fn input(&self) -> Self::Input;
    fn output(&self) -> Self::Output;
}
Expand description

Device class trait

Required Associated Types§

source

type Input

Input report type

source

type Output

Output report type

Required Methods§

source

fn input(&self) -> Self::Input

Create input report

source

fn output(&self) -> Self::Output

Create output report

Implementors§