pub trait ComInterface {
const NAME: &'static str;
const IN: bool;
const OUT: bool;
const GLOBAL: bool;
const VIRTUAL: bool;
// Required method
fn send_block(&mut self, block: &[u8]);
}Required Associated Constants§
const NAME: &'static str
const IN: bool
const OUT: bool
const GLOBAL: bool
const VIRTUAL: bool
Required Methods§
fn send_block(&mut self, block: &[u8])
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.