pub trait FactoryProxyInterface: Send + Sync {
type CreateResponseFut: Future<Output = Result<FactoryCreateResult, Error>> + Send;
// Required method
fn create(
&self,
config: &ControlConfig,
control: ServerEnd<ControlMarker>,
) -> Self::CreateResponseFut;
}Required Associated Types§
type CreateResponseFut: Future<Output = Result<FactoryCreateResult, Error>> + Send
Required Methods§
fn create( &self, config: &ControlConfig, control: ServerEnd<ControlMarker>, ) -> Self::CreateResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".