pub trait MagneticScanner {
type Error: Debug + MaybeFormat;
// Required method
fn scan(
&mut self,
row: usize,
col: usize,
) -> impl Future<Output = Result<u16, Self::Error>>;
}Required Associated Types§
Required Methods§
fn scan( &mut self, row: usize, col: usize, ) -> impl Future<Output = Result<u16, Self::Error>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
RKTK API Docs