pub fn strerror(pnd: *const ffi::nfc_device) -> &'static str {
    unsafe {
        let last_error = CStr::from_ptr(ffi::nfc_strerror(pnd)).to_str().unwrap();

        last_error
    }
}
/// Returns the last error as a string
Returns the last error as a string
Returns the last error as a string
pub fn strerror(pnd: *const ffi::nfc_device) -> &'static str {
    unsafe {
        let last_error = CStr::from_ptr(ffi::nfc_strerror(pnd)).to_str().unwrap();
        last_error
    }
}
pub fn strerror ( pnd : * const ffi :: nfc_device ) -> & ' static str { unsafe { let last_error = CStr :: from_ptr ( ffi :: nfc_strerror ( pnd ) ) . to_str ( ) . unwrap ( ) ; last_error } }
Returns the last error as a string
Returns the last error as a string
pnd
*const ffi::nfc_device
pnd
*const ffi::nfc_device