fidl_fidl_serversuite

Trait RunnerProxyInterface

Source
pub trait RunnerProxyInterface: Send + Sync {
    type GetVersionResponseFut: Future<Output = Result<u64, Error>> + Send;
    type CheckAliveResponseFut: Future<Output = Result<(), Error>> + Send;
    type StartResponseFut: Future<Output = Result<RunnerStartResult, Error>> + Send;
    type ShutdownWithEpitaphResponseFut: Future<Output = Result<(), Error>> + Send;
    type SendOpenTargetStrictEventResponseFut: Future<Output = Result<(), Error>> + Send;
    type SendOpenTargetFlexibleEventResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn get_version(&self) -> Self::GetVersionResponseFut;
    fn check_alive(&self) -> Self::CheckAliveResponseFut;
    fn start(&self, test: Test, any_target: AnyTarget) -> Self::StartResponseFut;
    fn shutdown_with_epitaph(
        &self,
        epitaph_status: i32,
    ) -> Self::ShutdownWithEpitaphResponseFut;
    fn send_open_target_strict_event(
        &self,
    ) -> Self::SendOpenTargetStrictEventResponseFut;
    fn send_open_target_flexible_event(
        &self,
    ) -> Self::SendOpenTargetFlexibleEventResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§