Skip to main content

FlatlandFactoryProxyInterface

Trait FlatlandFactoryProxyInterface 

Source
pub trait FlatlandFactoryProxyInterface: Send + Sync {
    type CreateFlatlandResponseFut: Future<Output = Result<FlatlandFactoryCreateFlatlandResult, Error>> + Send;

    // Required method
    fn create_flatland(
        &self,
        server_end: ServerEnd<FlatlandMarker>,
        config: &FlatlandConfig,
    ) -> Self::CreateFlatlandResponseFut;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§