Trait Backend
shess
pub trait Backend { fn new() -> Self; fn receive(&self) -> Result<Option<String>, String>; fn send(&mut self, msg: String) -> Result<Option<String>, String>; }
fn new() -> Self
fn receive(&self) -> Result<Option<String>, String>
fn send(&mut self, msg: String) -> Result<Option<String>, String>