pub trait Backend: Send + Sync {
// Required method
fn call(&self, call: &Call) -> Result<Reply, Error>;
}Expand description
What a worker calls. The real one is the Client; the tests give a scripted one.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".