pub trait SystemStateTransitionProxyInterface: Send + Sync {
type GetTerminationSystemStateResponseFut: Future<Output = Result<SystemPowerState, Error>> + Send;
type GetMexecZbisResponseFut: Future<Output = Result<SystemStateTransitionGetMexecZbisResult, Error>> + Send;
// Required methods
fn get_termination_system_state(
&self,
) -> Self::GetTerminationSystemStateResponseFut;
fn get_mexec_zbis(&self) -> Self::GetMexecZbisResponseFut;
}Required Associated Types§
type GetTerminationSystemStateResponseFut: Future<Output = Result<SystemPowerState, Error>> + Send
type GetMexecZbisResponseFut: Future<Output = Result<SystemStateTransitionGetMexecZbisResult, Error>> + Send
Required Methods§
fn get_termination_system_state( &self, ) -> Self::GetTerminationSystemStateResponseFut
fn get_mexec_zbis(&self) -> Self::GetMexecZbisResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".