pub trait BioEnrollmentRequestTrait: CBORCommand<Response = BioEnrollmentResponse> {
const GET_MODALITY: Self;
const GET_FINGERPRINT_SENSOR_INFO: Self;
const FINGERPRINT_CANCEL_CURRENT_ENROLLMENT: Self;
// Required method
fn new(
s: BioSubCommand,
pin_uv_protocol: Option<u32>,
pin_uv_auth_param: Option<Vec<u8>>,
) -> Self;
}Available on (crate features
ctap2) and (crate features ctap2-management) only.Expand description
Common functionality for CTAP 2.1 and 2.1-PRE BioEnrollment request types.
Required Associated Constants§
Sourceconst GET_MODALITY: Self
const GET_MODALITY: Self
Command to get the supported biometric modality for the authenticator.
Sourceconst GET_FINGERPRINT_SENSOR_INFO: Self
const GET_FINGERPRINT_SENSOR_INFO: Self
Command to get information about the authenticator’s fingerprint sensor.
Sourceconst FINGERPRINT_CANCEL_CURRENT_ENROLLMENT: Self
const FINGERPRINT_CANCEL_CURRENT_ENROLLMENT: Self
Command to cancel an in-progress fingerprint enrollment.
Required Methods§
Sourcefn new(
s: BioSubCommand,
pin_uv_protocol: Option<u32>,
pin_uv_auth_param: Option<Vec<u8>>,
) -> Self
fn new( s: BioSubCommand, pin_uv_protocol: Option<u32>, pin_uv_auth_param: Option<Vec<u8>>, ) -> Self
Creates a new BioEnrollmentRequest from the given BioSubCommand.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.