pub trait LoadBalance: Debug {
    // Required method
    fn select(
        &self,
        invokers: Arc<Vec<Url>>,
        url: Option<Url>,
        invocation: Arc<RpcInvocation>
    ) -> Option<Url>;
}

Required Methods§

source

fn select( &self, invokers: Arc<Vec<Url>>, url: Option<Url>, invocation: Arc<RpcInvocation> ) -> Option<Url>

Implementors§