#[non_exhaustive]#[repr(u8)]pub enum Register {
Notifications = 0,
Connections = 2,
ReceiverInfo = 181,
}Expand description
All known registers of the Unifying receiver.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Notifications = 0
Controls which notifications the receiver emits. Wireless device-arrival
(0x41) events are only re-broadcast while wireless notifications are
enabled here; see Receiver::set_wireless_notifications.
Connections = 2
Enables or disables wireless device-connection notifications; also used to read the pairing count and to trigger device-arrival events.
ReceiverInfo = 181
Provides information about the receiver and paired devices. It uses
sub-registers, as defined in InfoSubRegister, to differentiate
between different kinds of information.
Trait Implementations§
impl Copy for Register
impl Eq for Register
impl StructuralPartialEq for Register
Auto Trait Implementations§
impl Freeze for Register
impl RefUnwindSafe for Register
impl Send for Register
impl Sync for Register
impl Unpin for Register
impl UnsafeUnpin for Register
impl UnwindSafe for Register
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