[][src]Enum bluenrg::gap::Pin

pub enum Pin {
    Requested,
    Fixed(u32),
}

Options for fixed_pin.

Variants

Requested

Do not use fixed pin during the pairing process. In this case, GAP will generate a GAP Pass Key Request event to the host.

Fixed(u32)

Use a fixed pin during pairing. The provided value is used as the PIN, and must be 999999 or less.

Auto Trait Implementations

impl Send for Pin

impl Sync for Pin

impl Unpin for Pin

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.