pub trait DriverIndexProxyInterface: Send + Sync {
type MatchDriverResponseFut: Future<Output = Result<DriverIndexMatchDriverResult, Error>> + Send;
type WaitForBaseDriversResponseFut: Future<Output = Result<(), Error>> + Send;
type MatchDriversV1ResponseFut: Future<Output = Result<DriverIndexMatchDriversV1Result, Error>> + Send;
type AddCompositeNodeSpecResponseFut: Future<Output = Result<DriverIndexAddCompositeNodeSpecResult, Error>> + Send;
// Required methods
fn match_driver(
&self,
args: MatchDriverArgs
) -> Self::MatchDriverResponseFut;
fn wait_for_base_drivers(&self) -> Self::WaitForBaseDriversResponseFut;
fn match_drivers_v1(
&self,
args: MatchDriverArgs
) -> Self::MatchDriversV1ResponseFut;
fn add_composite_node_spec(
&self,
payload: CompositeNodeSpec
) -> Self::AddCompositeNodeSpecResponseFut;
}