Skip to main content

SystemStateTransitionProxyInterface

Trait SystemStateTransitionProxyInterface 

Source
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§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§