Enum web_sys::AuthenticatorTransport
source · [−]pub enum AuthenticatorTransport {
Usb,
Nfc,
Ble,
// some variants omitted
}
Expand description
The AuthenticatorTransport
enum.
This API requires the following crate features to be activated: AuthenticatorTransport
Variants
Usb
Nfc
Ble
Implementations
sourceimpl AuthenticatorTransport
impl AuthenticatorTransport
pub fn from_js_value(obj: &JsValue) -> Option<AuthenticatorTransport>
Trait Implementations
sourceimpl Clone for AuthenticatorTransport
impl Clone for AuthenticatorTransport
sourcefn clone(&self) -> AuthenticatorTransport
fn clone(&self) -> AuthenticatorTransport
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AuthenticatorTransport
impl Debug for AuthenticatorTransport
sourceimpl From<AuthenticatorTransport> for JsValue
impl From<AuthenticatorTransport> for JsValue
sourcefn from(obj: AuthenticatorTransport) -> JsValue
fn from(obj: AuthenticatorTransport) -> JsValue
Converts to this type from the input type.
sourceimpl FromWasmAbi for AuthenticatorTransport
impl FromWasmAbi for AuthenticatorTransport
sourceimpl IntoWasmAbi for AuthenticatorTransport
impl IntoWasmAbi for AuthenticatorTransport
sourceimpl PartialEq<AuthenticatorTransport> for AuthenticatorTransport
impl PartialEq<AuthenticatorTransport> for AuthenticatorTransport
sourcefn eq(&self, other: &AuthenticatorTransport) -> bool
fn eq(&self, other: &AuthenticatorTransport) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl WasmDescribe for AuthenticatorTransport
impl WasmDescribe for AuthenticatorTransport
impl Copy for AuthenticatorTransport
impl Eq for AuthenticatorTransport
impl StructuralEq for AuthenticatorTransport
impl StructuralPartialEq for AuthenticatorTransport
Auto Trait Implementations
impl RefUnwindSafe for AuthenticatorTransport
impl Send for AuthenticatorTransport
impl Sync for AuthenticatorTransport
impl Unpin for AuthenticatorTransport
impl UnwindSafe for AuthenticatorTransport
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
sourcefn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more