pub struct Report {
pub present: bool,
pub gen: u32,
pub vid: u16,
pub pid: u16,
pub host: u8,
}Expand description
One report. gen counts every bind on that host, so the same dongle bound again - a replug, or the
host re-enumerating it - reads differently from the same dongle still bound.
Fields§
§present: bool§gen: u32§vid: u16§pid: u16§host: u8The host it is from (HOST_*).
Trait Implementations§
impl Copy for Report
impl Eq for Report
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more