pub struct Device {
pub library_size: Option<u16>,
pub template_count: u16,
pub finger_id: u16,
pub confidence: u16,
/* private fields */
}
Fields§
§library_size: Option<u16>
§template_count: u16
§finger_id: u16
§confidence: u16
Implementations§
Source§impl Device
impl Device
pub fn verify_password(&mut self) -> bool
pub fn send_packet(&mut self, data: &[u8]) -> Result<()>
pub fn get_packet(&mut self, expected: usize) -> Result<Vec<u8>>
pub fn read_sysparam(&mut self) -> Result<u8>
pub fn count_templates(&mut self) -> Result<u8>
pub fn get_image(&mut self) -> Result<u8>
pub fn image_2_tz(&mut self, slot: u8) -> Result<u8>
pub fn finger_search(&mut self) -> Result<u8>
pub fn finger_fast_search(&mut self) -> Result<u8>
pub fn create_model(&mut self) -> Result<u8>
pub fn store_model(&mut self, location: u16, slot: u8) -> Result<u8>
pub fn delete_model(&mut self, location: u16) -> Result<u8>
pub fn delete_all(&mut self) -> Result<u8>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Device
impl !RefUnwindSafe for Device
impl Send for Device
impl !Sync for Device
impl Unpin for Device
impl !UnwindSafe for Device
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more