pub trait NfcReader {
type Error: Debug;
// Required method
fn read(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error>;
}Expand description
NFC reader / receiver — a one-shot tap-to-pair transport for constrained-mode capability handover.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".