pub trait WorkerInstances {
// Required methods
fn count(&self) -> usize;
fn post(&mut self, instance: usize, request: Vec<u8>);
// Provided method
fn replace(&mut self, _instance: usize) -> bool { ... }
}Expand description
The worker instances a RemoteWorkers sends its frames to. Their
replies come back through the ReplySink the transport gave whoever
created them.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".