pub struct BluetoothToken { /* private fields */ }Available on crate feature
bluetooth only.Trait Implementations§
Source§impl Debug for BluetoothToken
impl Debug for BluetoothToken
Source§impl Drop for BluetoothToken
impl Drop for BluetoothToken
Source§impl Token for BluetoothToken
impl Token for BluetoothToken
Source§type Id = PeripheralId
type Id = PeripheralId
Available on crate feature
ctap2 only.Source§fn transmit_raw<'life0, 'life1, 'life2, 'async_trait, U>(
&'life0 mut self,
cmd: &'life1 [u8],
ui: &'life2 U,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, WebauthnCError>> + Send + 'async_trait>>where
U: UiCallback + 'async_trait,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn transmit_raw<'life0, 'life1, 'life2, 'async_trait, U>(
&'life0 mut self,
cmd: &'life1 [u8],
ui: &'life2 U,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, WebauthnCError>> + Send + 'async_trait>>where
U: UiCallback + 'async_trait,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Available on crate feature
ctap2 only.Transmits a command on the underlying transport. Read more
Source§fn init<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), WebauthnCError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn init<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), WebauthnCError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Available on crate feature
ctap2 only.Initializes the Token
Source§fn close<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), WebauthnCError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn close<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), WebauthnCError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Available on crate feature
ctap2 only.Closes the Token
Source§fn get_transport(&self) -> AuthenticatorTransport
fn get_transport(&self) -> AuthenticatorTransport
Available on crate feature
ctap2 only.Gets the transport layer used for communication with this token.
Source§fn cancel<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), WebauthnCError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn cancel<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), WebauthnCError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Available on crate feature
ctap2 only.Cancels a pending request.
Available on crate feature
ctap2 only.Source§fn transmit<'a, 'life0, 'life1, 'async_trait, C, R, U>(
&'life0 mut self,
cmd: C,
ui: &'life1 U,
) -> Pin<Box<dyn Future<Output = Result<R, WebauthnCError>> + Send + 'async_trait>>where
C: CBORCommand<Response = R> + 'async_trait,
R: CBORResponse + 'async_trait,
U: UiCallback + 'async_trait,
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn transmit<'a, 'life0, 'life1, 'async_trait, C, R, U>(
&'life0 mut self,
cmd: C,
ui: &'life1 U,
) -> Pin<Box<dyn Future<Output = Result<R, WebauthnCError>> + Send + 'async_trait>>where
C: CBORCommand<Response = R> + 'async_trait,
R: CBORResponse + 'async_trait,
U: UiCallback + 'async_trait,
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Available on crate feature
ctap2 only.Transmit a CBOR message to a token, and deserialises the response.
Auto Trait Implementations§
impl Freeze for BluetoothToken
impl !RefUnwindSafe for BluetoothToken
impl Send for BluetoothToken
impl Sync for BluetoothToken
impl Unpin for BluetoothToken
impl !UnwindSafe for BluetoothToken
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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