Skip to main content

RequesterProxyInterface

Trait RequesterProxyInterface 

Source
pub trait RequesterProxyInterface: Send + Sync {
    type RequestResponseFut: Future<Output = Result<RequesterRequestResult, Error>> + Send;

    // Required method
    fn request(&self, mode: SystemMode, set: bool) -> Self::RequestResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn request(&self, mode: SystemMode, set: bool) -> Self::RequestResponseFut

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§