DriverIndexProxyInterface

Trait DriverIndexProxyInterface 

Source
pub trait DriverIndexProxyInterface: Send + Sync {
    type MatchDriverResponseFut: Future<Output = Result<DriverIndexMatchDriverResult, 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 add_composite_node_spec(
        &self,
        payload: &CompositeNodeSpec,
    ) -> Self::AddCompositeNodeSpecResponseFut;
    fn rebind_composite_node_spec(
        &self,
        spec: &str,
        driver_url_suffix: Option<&str>,
    ) -> Self::RebindCompositeNodeSpecResponseFut;
    fn set_notifier(
        &self,
        notifier: ClientEnd<DriverNotifierMarker>,
    ) -> Result<(), Error>;
}

Required Associated Types§

Required Methods§

Source

fn match_driver(&self, args: &MatchDriverArgs) -> Self::MatchDriverResponseFut

Source

fn add_composite_node_spec( &self, payload: &CompositeNodeSpec, ) -> Self::AddCompositeNodeSpecResponseFut

Source

fn rebind_composite_node_spec( &self, spec: &str, driver_url_suffix: Option<&str>, ) -> Self::RebindCompositeNodeSpecResponseFut

Source

fn set_notifier( &self, notifier: ClientEnd<DriverNotifierMarker>, ) -> Result<(), Error>

Implementors§