pub trait LoadBalancer: Send + Sync {
// Required method
fn select_node<'life0, 'life1, 'async_trait>(
&'life0 self,
nodes: &'life1 HashMap<String, NodeInfo>,
) -> Pin<Box<dyn Future<Output = Option<String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Expand description
負荷分散インターフェース