pub enum ClientAction {
Devices,
Info,
Reset {
confirm: u8,
},
List {
rp_id: Option<String>,
},
Show {
credential_id: String,
},
Delete {
credential_id: String,
},
Rename {
credential_id: String,
user_name: Option<String>,
display_name: Option<String>,
},
Pin {
action: PinAction,
},
}Expand description
Client actions for FIDO2 authenticator management
Variants§
Devices
List all available FIDO2 authenticators/devices
Info
Get authenticator information (capabilities, AAGUID, versions, etc.)
Reset
Reset the authenticator (WARNING: deletes ALL credentials)
List
List all credentials on the authenticator
Show
Show detailed information about a specific credential
Delete
Delete a specific credential by ID
Rename
Rename a credential (update user name and/or display name)
Fields
Pin
PIN management commands
Trait Implementations§
Source§impl Clone for ClientAction
impl Clone for ClientAction
Source§fn clone(&self) -> ClientAction
fn clone(&self) -> ClientAction
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClientAction
impl Debug for ClientAction
Source§impl FromArgMatches for ClientAction
impl FromArgMatches for ClientAction
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Subcommand for ClientAction
impl Subcommand for ClientAction
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for ClientAction
impl RefUnwindSafe for ClientAction
impl Send for ClientAction
impl Sync for ClientAction
impl Unpin for ClientAction
impl UnwindSafe for ClientAction
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)