Trait ClientSelector

Source
pub trait ClientSelector {
    // Required methods
    fn select(
        &mut self,
        service_path: &str,
        service_method: &str,
        args: &dyn RpcxParam,
    ) -> String;
    fn update_server(&self, servers: &HashMap<String, String>);
}

Required Methods§

Source

fn select( &mut self, service_path: &str, service_method: &str, args: &dyn RpcxParam, ) -> String

Source

fn update_server(&self, servers: &HashMap<String, String>)

Implementors§