pub enum TokenEvent<T: Token> {
Added(T),
Removed(T::Id),
EnumerationComplete,
}Available on crate feature
ctap2 only.Variants§
Trait Implementations§
source§impl From<TokenEvent<BluetoothToken>> for TokenEvent<AnyToken>
Available on crate feature bluetooth only.
impl From<TokenEvent<BluetoothToken>> for TokenEvent<AnyToken>
Available on crate feature
bluetooth only.source§fn from(e: TokenEvent<BluetoothToken>) -> Self
fn from(e: TokenEvent<BluetoothToken>) -> Self
Converts to this type from the input type.
source§impl From<TokenEvent<NFCCard>> for TokenEvent<AnyToken>
Available on crate feature nfc only.
impl From<TokenEvent<NFCCard>> for TokenEvent<AnyToken>
Available on crate feature
nfc only.source§fn from(e: TokenEvent<NFCCard>) -> Self
fn from(e: TokenEvent<NFCCard>) -> Self
Converts to this type from the input type.
source§impl From<TokenEvent<USBToken>> for TokenEvent<AnyToken>
Available on crate feature usb only.
impl From<TokenEvent<USBToken>> for TokenEvent<AnyToken>
Available on crate feature
usb only.source§fn from(e: TokenEvent<USBToken>) -> Self
fn from(e: TokenEvent<USBToken>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> RefUnwindSafe for TokenEvent<T>
impl<T> Send for TokenEvent<T>
impl<T> Sync for TokenEvent<T>
impl<T> Unpin for TokenEvent<T>
impl<T> UnwindSafe for TokenEvent<T>
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> 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