[−][src]Struct fprint_rs::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(&self) -> 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
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,