pub enum Pin {
Requested,
Fixed(u32),
}
Expand description
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 Freeze for Pin
impl RefUnwindSafe for Pin
impl Send for Pin
impl Sync for Pin
impl Unpin for Pin
impl UnwindSafe for Pin
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