fidl_fuchsia_driver_developmentTrait ManagerProxyInterface
Source pub trait ManagerProxyInterface: Send + Sync {
type RestartDriverHostsResponseFut: Future<Output = Result<ManagerRestartDriverHostsResult, Error>> + Send;
type DisableDriverResponseFut: Future<Output = Result<ManagerDisableDriverResult, Error>> + Send;
type EnableDriverResponseFut: Future<Output = Result<ManagerEnableDriverResult, Error>> + Send;
type BindAllUnboundNodesResponseFut: Future<Output = Result<ManagerBindAllUnboundNodesResult, Error>> + Send;
type AddTestNodeResponseFut: Future<Output = Result<ManagerAddTestNodeResult, Error>> + Send;
type RemoveTestNodeResponseFut: Future<Output = Result<ManagerRemoveTestNodeResult, Error>> + Send;
type WaitForBootupResponseFut: Future<Output = Result<(), Error>> + Send;
// Required methods
fn get_driver_info(
&self,
driver_filter: &[String],
iterator: ServerEnd<DriverInfoIteratorMarker>,
) -> Result<(), Error>;
fn get_composite_node_specs(
&self,
name_filter: Option<&str>,
iterator: ServerEnd<CompositeNodeSpecIteratorMarker>,
) -> Result<(), Error>;
fn get_node_info(
&self,
node_filter: &[String],
iterator: ServerEnd<NodeInfoIteratorMarker>,
exact_match: bool,
) -> Result<(), Error>;
fn get_composite_info(
&self,
iterator: ServerEnd<CompositeInfoIteratorMarker>,
) -> Result<(), Error>;
fn restart_driver_hosts(
&self,
driver_url: &str,
rematch_flags: RestartRematchFlags,
) -> Self::RestartDriverHostsResponseFut;
fn disable_driver(
&self,
driver_url: &str,
package_hash: Option<&str>,
) -> Self::DisableDriverResponseFut;
fn enable_driver(
&self,
driver_url: &str,
package_hash: Option<&str>,
) -> Self::EnableDriverResponseFut;
fn bind_all_unbound_nodes(&self) -> Self::BindAllUnboundNodesResponseFut;
fn add_test_node(
&self,
args: &TestNodeAddArgs,
) -> Self::AddTestNodeResponseFut;
fn remove_test_node(&self, name: &str) -> Self::RemoveTestNodeResponseFut;
fn wait_for_bootup(&self) -> Self::WaitForBootupResponseFut;
}