pub enum BioSubCommand {
Unknown,
FingerprintEnrollBegin(Duration),
FingerprintEnrollCaptureNextSample(Vec<u8>, Duration),
FingerprintEnumerateEnrollments,
FingerprintSetFriendlyName(TemplateInfo),
FingerprintRemoveEnrollment(Vec<u8>),
}
Available on crate features
ctap2-management
and ctap2
only.Expand description
Wrapper for biometric command types, which can be passed to BioEnrollmentRequestTrait::new.
Static commands are declared as constants of BioEnrollmentRequestTrait, see:
Variants§
Unknown
FingerprintEnrollBegin(Duration)
Begins enrollment of a new fingerprint on the device:
- Duration: time-out for the operation.
FingerprintEnrollCaptureNextSample(Vec<u8>, Duration)
Captures another sample of a fingerprint while enrollment is in progress:
FingerprintEnumerateEnrollments
Lists all enrolled fingerprints.
FingerprintSetFriendlyName(TemplateInfo)
Renames or sets the friendly name of an enrolled fingerprint.
FingerprintRemoveEnrollment(Vec<u8>)
Implementations§
Trait Implementations§
Source§impl Clone for BioSubCommand
impl Clone for BioSubCommand
Source§fn clone(&self) -> BioSubCommand
fn clone(&self) -> BioSubCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BioSubCommand
impl Debug for BioSubCommand
Source§impl Default for BioSubCommand
impl Default for BioSubCommand
Source§fn default() -> BioSubCommand
fn default() -> BioSubCommand
Returns the “default value” for a type. Read more
Source§impl From<&BioSubCommand> for (Modality, u8)
impl From<&BioSubCommand> for (Modality, u8)
Source§fn from(c: &BioSubCommand) -> Self
fn from(c: &BioSubCommand) -> Self
Converts to this type from the input type.
Source§impl From<BioSubCommand> for Option<BTreeMap<Value, Value>>
impl From<BioSubCommand> for Option<BTreeMap<Value, Value>>
Source§fn from(c: BioSubCommand) -> Self
fn from(c: BioSubCommand) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BioSubCommand
impl PartialEq for BioSubCommand
impl Eq for BioSubCommand
impl StructuralPartialEq for BioSubCommand
Auto Trait Implementations§
impl Freeze for BioSubCommand
impl RefUnwindSafe for BioSubCommand
impl Send for BioSubCommand
impl Sync for BioSubCommand
impl Unpin for BioSubCommand
impl UnwindSafe for BioSubCommand
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