fidl_fuchsia_fuzzer

Trait ManagerProxyInterface

Source
pub trait ManagerProxyInterface: Send + Sync {
    type ConnectResponseFut: Future<Output = Result<ManagerConnectResult, Error>> + Send;
    type GetOutputResponseFut: Future<Output = Result<ManagerGetOutputResult, Error>> + Send;
    type StopResponseFut: Future<Output = Result<ManagerStopResult, Error>> + Send;

    // Required methods
    fn connect(
        &self,
        fuzzer_url: &str,
        controller: ServerEnd<ControllerMarker>,
    ) -> Self::ConnectResponseFut;
    fn get_output(
        &self,
        fuzzer_url: &str,
        output: TestOutput,
        socket: Socket,
    ) -> Self::GetOutputResponseFut;
    fn stop(&self, fuzzer_url: &str) -> Self::StopResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn connect( &self, fuzzer_url: &str, controller: ServerEnd<ControllerMarker>, ) -> Self::ConnectResponseFut

Source

fn get_output( &self, fuzzer_url: &str, output: TestOutput, socket: Socket, ) -> Self::GetOutputResponseFut

Source

fn stop(&self, fuzzer_url: &str) -> Self::StopResponseFut

Implementors§