[][src]Struct fprint_rs::FPrint

pub struct FPrint;

Methods

impl FPrint[src]

pub fn new() -> Result<FPrint>[src]

Initialise libfprint.

To enable debug output of libfprint specifically, use GLib's G_MESSAGES_DEBUG environment variable as explained in Running and debugging GLib Applications.

The log domains used in libfprint are either libfprint or libfprint-FP_COMPONENT where FP_COMPONENT is defined in the source code for each driver, or component of the library. Starting with all and trimming down is advised.

To enable debugging of libusb, for USB-based fingerprint reader drivers, use libusb's LIBUSB_DEBUG environment variable as explained in the libusb-1.0 API Reference.

Example:

# LIBUSB_DEBUG=4 G_MESSAGES_DEBUG=all my-libfprint-application

pub fn discover(&self) -> Result<DiscoveredDevices>[src]

Scans the system and returns a list of discovered devices. This is your entry point into finding a fingerprint reader to operate.

Trait Implementations

impl Drop for FPrint[src]

impl Clone for FPrint[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for FPrint[src]

Auto Trait Implementations

impl Send for FPrint

impl Sync for FPrint

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.