pub trait RouteResolver { // Required method fn resolve( &self, endpoints: &[Endpoint], hint: &RouteHint, ) -> Option<Endpoint>; }