pub struct PairingReceiver {
pub uid: Option<String>,
pub family: ReceiverFamily,
pub product_id: u16,
}Expand description
A pairing-capable receiver currently connected to the host.
Fields§
§uid: Option<String>Bolt unique ID, when readable. None for Unifying (no read path yet).
family: ReceiverFamilyReceiver protocol family.
product_id: u16USB product ID of the receiver.
Trait Implementations§
Source§impl Clone for PairingReceiver
impl Clone for PairingReceiver
Source§fn clone(&self) -> PairingReceiver
fn clone(&self) -> PairingReceiver
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PairingReceiver
impl RefUnwindSafe for PairingReceiver
impl Send for PairingReceiver
impl Sync for PairingReceiver
impl Unpin for PairingReceiver
impl UnsafeUnpin for PairingReceiver
impl UnwindSafe for PairingReceiver
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