Enum bluenrg::event::GapPairingStatus [−][src]
pub enum GapPairingStatus { Success, Timeout, Failed, }
Reasons the GAP Pairing Complete event was generated.
Variants
Success
Pairing with a remote device was successful.
Timeout
The SMP timeout has elapsed and no further SMP commands will be processed until reconnection.
Failed
The pairing failed with the remote device.
Trait Implementations
impl Copy for GapPairingStatus
[src]
impl Copy for GapPairingStatus
impl Clone for GapPairingStatus
[src]
impl Clone for GapPairingStatus
fn clone(&self) -> GapPairingStatus
[src]
fn clone(&self) -> GapPairingStatus
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for GapPairingStatus
[src]
impl Debug for GapPairingStatus
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for GapPairingStatus
[src]
impl PartialEq for GapPairingStatus
fn eq(&self, other: &GapPairingStatus) -> bool
[src]
fn eq(&self, other: &GapPairingStatus) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl TryFrom<u8> for GapPairingStatus
[src]
impl TryFrom<u8> for GapPairingStatus
type Error = BlueNRGError
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: u8) -> Result<GapPairingStatus, Self::Error>
[src]
fn try_from(value: u8) -> Result<GapPairingStatus, Self::Error>
🔬 This is a nightly-only experimental API. (
try_from
)Performs the conversion.
Auto Trait Implementations
impl Send for GapPairingStatus
impl Send for GapPairingStatus
impl Sync for GapPairingStatus
impl Sync for GapPairingStatus