Skip to main content

MockRebootControllerProxyInterface

Trait MockRebootControllerProxyInterface 

Source
pub trait MockRebootControllerProxyInterface: Send + Sync {
    type TriggerRebootResponseFut: Future<Output = Result<MockRebootControllerTriggerRebootResult, Error>> + Send;
    type CrashRebootChannelResponseFut: Future<Output = Result<MockRebootControllerCrashRebootChannelResult, Error>> + Send;

    // Required methods
    fn trigger_reboot(&self) -> Self::TriggerRebootResponseFut;
    fn crash_reboot_channel(&self) -> Self::CrashRebootChannelResponseFut;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§