fidl_fuchsia_blackout_test

Trait ControllerProxyInterface

Source
pub trait ControllerProxyInterface: Send + Sync {
    type SetupResponseFut: Future<Output = Result<ControllerSetupResult, Error>> + Send;
    type TestResponseFut: Future<Output = Result<ControllerTestResult, Error>> + Send;
    type VerifyResponseFut: Future<Output = Result<ControllerVerifyResult, Error>> + Send;

    // Required methods
    fn setup(
        &self,
        device_label: &str,
        device_path: Option<&str>,
        seed: u64,
    ) -> Self::SetupResponseFut;
    fn test(
        &self,
        device_label: &str,
        device_path: Option<&str>,
        seed: u64,
        duration: u64,
    ) -> Self::TestResponseFut;
    fn verify(
        &self,
        device_label: &str,
        device_path: Option<&str>,
        seed: u64,
    ) -> Self::VerifyResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn setup( &self, device_label: &str, device_path: Option<&str>, seed: u64, ) -> Self::SetupResponseFut

Source

fn test( &self, device_label: &str, device_path: Option<&str>, seed: u64, duration: u64, ) -> Self::TestResponseFut

Source

fn verify( &self, device_label: &str, device_path: Option<&str>, seed: u64, ) -> Self::VerifyResponseFut

Implementors§