[−][src]Trait tower::steer::Picker
This is supported on crate feature
steer only.This is how callers of Steer tell it which Service a Req corresponds to.
Required methods
pub fn pick(&mut self, r: &Req, services: &[S]) -> usize[src]
Return an index into the iterator of Service passed to Steer::new.