[][src]Enum rubble::security_manager::IoCapabilities

pub enum IoCapabilities {
    DisplayOnly,
    DisplayYesNo,
    KeyboardOnly,
    NoInputNoOutput,
    KeyboardDisplay,
    Unknown(u8),
}

Describes the I/O capabilities of a device that can be used for the pairing process.

Variants

DisplayOnly

Device can display a 6-digit number, but has no input capabilities.

DisplayYesNo

Device can display a 6-digit number and the user can input "Yes" or "No".

KeyboardOnly

Device does not have output capability, but the user can input a passcode.

NoInputNoOutput

Device has no meaningful input and output capabilities.

KeyboardDisplay

Device can display a 6-digit passcode and allows passcode entry via a keyboard.

Unknown(u8)

Trait Implementations

impl Clone for IoCapabilities[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for IoCapabilities[src]

impl Debug for IoCapabilities[src]

impl From<u8> for IoCapabilities[src]

impl From<IoCapabilities> for u8[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]