pub trait Picker<S, Req> {
// Required method
fn pick(&mut self, r: &Req, services: &[S]) -> usize;
}Available on crate feature
steer only.Expand description
This is how callers of Steer tell it which Service a Req corresponds to.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".