ProtocolFactoryProxyInterface

Trait ProtocolFactoryProxyInterface 

Source
pub trait ProtocolFactoryProxyInterface: Send + Sync {
    type CreateProtocolResponseFut: Future<Output = Result<ProtocolFactoryCreateProtocolResult, Error>> + Send;

    // Required method
    fn create_protocol(
        &self,
        protocol: ServerEnd<ProtocolMarker>,
    ) -> Self::CreateProtocolResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§