#[repr(u8)]pub enum Ctap2Command {
MakeCredential = 1,
GetAssertion = 2,
GetInfo = 4,
}Expand description
Authenticator commands enumerated by the CTAP 2 specification.
Variants§
MakeCredential = 1
CTAP_CMD_MAKE_CREDENTIAL
GetAssertion = 2
CTAP_CMD_GET_ASSERTION
GetInfo = 4
CTAP_CMD_GET_INFO
Trait Implementations§
Source§impl From<Ctap2Command> for u8
impl From<Ctap2Command> for u8
Source§fn from(value: Ctap2Command) -> Self
fn from(value: Ctap2Command) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Ctap2Command
impl RefUnwindSafe for Ctap2Command
impl Send for Ctap2Command
impl Sync for Ctap2Command
impl Unpin for Ctap2Command
impl UnsafeUnpin for Ctap2Command
impl UnwindSafe for Ctap2Command
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