Skip to main content

EmbeddedComInterface

Trait EmbeddedComInterface 

Source
pub trait EmbeddedComInterface {
    // Required method
    async fn process_bytes(&mut self, buf: &[u8], num_bytes: usize);
}

Required Methods§

Source

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.

Implementors§