BioEnrollmentRequestTrait

Trait BioEnrollmentRequestTrait 

Source
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§

Required Methods§

Source

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.

Implementors§