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