Enum stm32wb_hci::vendor::stm32wb::event::command::PassKeyRequirement
source · pub enum PassKeyRequirement {
NotRequired,
FixedPin,
Generated,
}Expand description
Options for pass key generation.
Variants§
NotRequired
A pass key is not required.
FixedPin
A fixed pin is present which is being used.
Generated
Pass key required for pairing. An event will be generated when required.
Trait Implementations§
source§impl Clone for PassKeyRequirement
impl Clone for PassKeyRequirement
source§fn clone(&self) -> PassKeyRequirement
fn clone(&self) -> PassKeyRequirement
Returns a copy 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 PassKeyRequirement
impl Debug for PassKeyRequirement
source§impl PartialEq<PassKeyRequirement> for PassKeyRequirement
impl PartialEq<PassKeyRequirement> for PassKeyRequirement
source§fn eq(&self, other: &PassKeyRequirement) -> bool
fn eq(&self, other: &PassKeyRequirement) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<u8> for PassKeyRequirement
impl TryFrom<u8> for PassKeyRequirement
impl Copy for PassKeyRequirement
impl StructuralPartialEq for PassKeyRequirement
Auto Trait Implementations§
impl RefUnwindSafe for PassKeyRequirement
impl Send for PassKeyRequirement
impl Sync for PassKeyRequirement
impl Unpin for PassKeyRequirement
impl UnwindSafe for PassKeyRequirement
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