Skip to main content

DebugUtilsProxyInterface

Trait DebugUtilsProxyInterface 

Source
pub trait DebugUtilsProxyInterface: Send + Sync {
    type SetPowerStateResponseFut: Future<Output = Result<DebugUtilsSetPowerStateResult, Error>> + Send;

    // Required method
    fn set_power_state(
        &self,
        power_state: i64,
    ) -> Self::SetPowerStateResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn set_power_state(&self, power_state: i64) -> Self::SetPowerStateResponseFut

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§