#[non_exhaustive]pub enum Template {
Undefined,
Nbis(Vec<Vec<Minutia>>),
Raw(Vec<u8>),
}Expand description
The biometric payload of a print, matching libfprint’s FpiPrintType.
#[non_exhaustive]: FpiPrintType is an external vocabulary that could grow, so adding a
payload kind must not be a breaking change for downstream matchers.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Undefined
FPI_PRINT_UNDEFINED — a fresh print handed to enroll before it is filled in.
Nbis(Vec<Vec<Minutia>>)
FPI_PRINT_NBIS — host-side minutiae comparison. One Vec<Minutia> per enrolled
capture (image-capture sensors typically enroll several samples).
Raw(Vec<u8>)
FPI_PRINT_RAW — data compared directly. For match-on-chip devices this is the
driver’s opaque blob (often just a handle to a template stored on the sensor).
Invariant relied on by fprint-fp3 but not enforced here: the bytes are a
self-describing, standalone GVariant variant (v) — the driver’s print->data —
which the codec writes and reads verbatim so a match-on-chip print round-trips
byte-for-byte.