Skip to main content

ControllerProxyInterface

Trait ControllerProxyInterface 

Source
pub trait ControllerProxyInterface: Send + Sync {
    type CreateResponseFut: Future<Output = Result<ControllerCreateResult, Error>> + Send;

    // Required method
    fn create(&self, payload: Options) -> Self::CreateResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn create(&self, payload: Options) -> Self::CreateResponseFut

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§