Struct libgatekeeper_sys::NfcTag
source · [−]pub struct NfcTag<'a> { /* private fields */ }Implementations
sourceimpl NfcTag<'_>
impl NfcTag<'_>
pub fn get_uid(&mut self) -> Option<String>
pub fn get_friendly_name(&mut self) -> Option<&str>
pub fn format(
&mut self,
uid: Option<&str>,
system_secret: Option<&str>
) -> Result<(), ()>
pub fn issue(
&mut self,
system_secret: &str,
uid: Option<&str>,
in_realms: Vec<&mut Realm>
) -> Result<(), ()>
pub fn authenticate(&mut self, realm: &mut Realm) -> Result<String, ()>
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for NfcTag<'a>
impl<'a> !Send for NfcTag<'a>
impl<'a> !Sync for NfcTag<'a>
impl<'a> Unpin for NfcTag<'a>
impl<'a> UnwindSafe for NfcTag<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more