pub struct GapKeypressNotification {
pub connection_handle: ConnectionHandle,
pub notification_type: KeypressNotificationType,
}
Expand description
This event is sent only during SC Pairing, when Keypress Notifications are supported, in order to show the input type signaled by the peer device, having Keyboard only I/O capabilities. When this event is received, no action is required to the User.
Fields§
§connection_handle: ConnectionHandle
Handle of the connection where this event occured
notification_type: KeypressNotificationType
Type of Keypress input notified/signaled by peer device (having Keyboard only I/O capabilities.
Trait Implementations§
Source§impl Clone for GapKeypressNotification
impl Clone for GapKeypressNotification
Source§fn clone(&self) -> GapKeypressNotification
fn clone(&self) -> GapKeypressNotification
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GapKeypressNotification
impl Debug for GapKeypressNotification
impl Copy for GapKeypressNotification
Auto Trait Implementations§
impl Freeze for GapKeypressNotification
impl RefUnwindSafe for GapKeypressNotification
impl Send for GapKeypressNotification
impl Sync for GapKeypressNotification
impl Unpin for GapKeypressNotification
impl UnwindSafe for GapKeypressNotification
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