pub trait FingerprintDb<OF: ObservedFingerprint, DS: DatabaseSignature<OF>> {
// Required method
fn find_best_match(&self, observed: &OF) -> Option<(&Label, &DS, f32)>;
}
Expand description
Represents a collection of database signatures of a specific type.
OF
is the ObservedFingerprint
type.
DS
is the DatabaseSignature
type that can be compared against OF
.