pub trait EmbeddedComInterface {
// Required method
async fn process_bytes(&mut self, buf: &[u8], num_bytes: usize);
}Required Methods§
async fn process_bytes(&mut self, buf: &[u8], num_bytes: usize)
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.