fidl_fuchsia_driver_index

Trait DevelopmentManagerProxyInterface

Source
pub trait DevelopmentManagerProxyInterface: Send + Sync {
    type DisableDriverResponseFut: Future<Output = Result<DevelopmentManagerDisableDriverResult, Error>> + Send;
    type EnableDriverResponseFut: Future<Output = Result<DevelopmentManagerEnableDriverResult, 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 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;
}

Required Associated Types§

Required Methods§

Source

fn get_driver_info( &self, driver_filter: &[String], iterator: ServerEnd<DriverInfoIteratorMarker>, ) -> Result<(), Error>

Source

fn get_composite_node_specs( &self, name_filter: Option<&str>, iterator: ServerEnd<CompositeNodeSpecIteratorMarker>, ) -> Result<(), Error>

Source

fn disable_driver( &self, driver_url: &str, package_hash: Option<&str>, ) -> Self::DisableDriverResponseFut

Source

fn enable_driver( &self, driver_url: &str, package_hash: Option<&str>, ) -> Self::EnableDriverResponseFut

Implementors§