fidl_fuchsia_driver_index

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§

Implementors§