pub trait ControllerProxyInterface: Send + Sync {
    type BindResponseFut: Future<Output = Result<ControllerBindResult, Error>> + Send;
    type RebindResponseFut: Future<Output = Result<ControllerRebindResult, Error>> + Send;
    type UnbindChildrenResponseFut: Future<Output = Result<ControllerUnbindChildrenResult, Error>> + Send;
    type ScheduleUnbindResponseFut: Future<Output = Result<ControllerScheduleUnbindResult, Error>> + Send;
    type GetTopologicalPathResponseFut: Future<Output = Result<ControllerGetTopologicalPathResult, Error>> + Send;

    // Required methods
    fn connect_to_device_fidl(&self, server: Channel) -> Result<(), Error>;
    fn connect_to_controller(
        &self,
        server: ServerEnd<ControllerMarker>
    ) -> Result<(), Error>;
    fn bind(&self, driver: &str) -> Self::BindResponseFut;
    fn rebind(&self, driver: &str) -> Self::RebindResponseFut;
    fn unbind_children(&self) -> Self::UnbindChildrenResponseFut;
    fn schedule_unbind(&self) -> Self::ScheduleUnbindResponseFut;
    fn get_topological_path(&self) -> Self::GetTopologicalPathResponseFut;
}

Required Associated Types§

Required Methods§

source

fn connect_to_device_fidl(&self, server: Channel) -> Result<(), Error>

source

fn connect_to_controller( &self, server: ServerEnd<ControllerMarker> ) -> Result<(), Error>

source

fn bind(&self, driver: &str) -> Self::BindResponseFut

source

fn rebind(&self, driver: &str) -> Self::RebindResponseFut

source

fn unbind_children(&self) -> Self::UnbindChildrenResponseFut

source

fn schedule_unbind(&self) -> Self::ScheduleUnbindResponseFut

source

fn get_topological_path(&self) -> Self::GetTopologicalPathResponseFut

Implementors§

source§

impl ControllerProxyInterface for ControllerProxy

§

type BindResponseFut = QueryResponseFut<Result<(), i32>>

§

type RebindResponseFut = QueryResponseFut<Result<(), i32>>

§

type UnbindChildrenResponseFut = QueryResponseFut<Result<(), i32>>

§

type ScheduleUnbindResponseFut = QueryResponseFut<Result<(), i32>>

§

type GetTopologicalPathResponseFut = QueryResponseFut<Result<String, i32>>