pub trait DriverIndexProxyInterface: Send + Sync {
type MatchDriverResponseFut: Future<Output = Result<DriverIndexMatchDriverResult, Error>> + Send;
type WatchForDriverLoadResponseFut: Future<Output = Result<(), Error>> + Send;
type AddCompositeNodeSpecResponseFut: Future<Output = Result<DriverIndexAddCompositeNodeSpecResult, Error>> + Send;
type RebindCompositeNodeSpecResponseFut: Future<Output = Result<DriverIndexRebindCompositeNodeSpecResult, Error>> + Send;
// Required methods
fn match_driver(
&self,
args: &MatchDriverArgs
) -> Self::MatchDriverResponseFut;
fn watch_for_driver_load(&self) -> Self::WatchForDriverLoadResponseFut;
fn add_composite_node_spec(
&self,
payload: &CompositeNodeSpec
) -> Self::AddCompositeNodeSpecResponseFut;
fn rebind_composite_node_spec(
&self,
spec: &str,
driver_url_suffix: Option<&str>
) -> Self::RebindCompositeNodeSpecResponseFut;
}