Struct libgatekeeper_sys::NfcDevice
source · pub struct NfcDevice<'a> { /* private fields */ }Implementations§
source§impl<'b> NfcDevice<'b>
impl<'b> NfcDevice<'b>
pub fn authenticate_tag( &self, realm: &mut Realm ) -> Result<Option<String>, NfcError>
pub fn first_tag(&self) -> Option<FreefareNfcTag<'_>>
pub fn first_mobile_tag(&self, realm: &Realm) -> Option<MobileNfcTag>
pub fn send(&self, command: Command) -> Result<Option<Response>, NfcError>
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for NfcDevice<'a>
impl<'a> !Send for NfcDevice<'a>
impl<'a> !Sync for NfcDevice<'a>
impl<'a> Unpin for NfcDevice<'a>
impl<'a> UnwindSafe for NfcDevice<'a>
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