pub trait WorkerIo {
type Error;
// Required methods
fn send(&mut self, msg: Result<ToPc, IcdError>) -> Result<(), Self::Error>;
fn receive(&mut self) -> Option<ToMcu>;
}Expand description
A trait for managing messages to or from a Worker