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§
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
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".