#[repr(u8)]pub enum IoCapability {
Display = 0,
DisplayConfirm = 1,
Keyboard = 2,
None = 3,
KeyboardDisplay = 4,
}
Expand description
I/O capabilities available for the GAP Set I/O Capability command.
Variants§
Display = 0
Display Only
DisplayConfirm = 1
Display yes/no
Keyboard = 2
Keyboard Only
None = 3
No Input, no output
KeyboardDisplay = 4
Keyboard display
Trait Implementations§
Source§impl Clone for IoCapability
impl Clone for IoCapability
Source§fn clone(&self) -> IoCapability
fn clone(&self) -> IoCapability
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 IoCapability
impl Debug for IoCapability
impl Copy for IoCapability
Auto Trait Implementations§
impl Freeze for IoCapability
impl RefUnwindSafe for IoCapability
impl Send for IoCapability
impl Sync for IoCapability
impl Unpin for IoCapability
impl UnwindSafe for IoCapability
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