pub enum ResponseToPasskey {
Yes,
No,
Cancel,
Waiting,
}
Expand description
The user response to a bluetooth passkey
Variants§
Yes
The passkey is accepted
No
The passkey is not accepted
Cancel
The process is canceled by the user
Waiting
Waiting on the user to decide
Trait Implementations§
Source§impl Clone for ResponseToPasskey
impl Clone for ResponseToPasskey
Source§fn clone(&self) -> ResponseToPasskey
fn clone(&self) -> ResponseToPasskey
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 ResponseToPasskey
impl Debug for ResponseToPasskey
Source§impl<'de> Deserialize<'de> for ResponseToPasskey
impl<'de> Deserialize<'de> for ResponseToPasskey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ResponseToPasskey
impl RefUnwindSafe for ResponseToPasskey
impl Send for ResponseToPasskey
impl Sync for ResponseToPasskey
impl Unpin for ResponseToPasskey
impl UnwindSafe for ResponseToPasskey
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