pub trait EndpointManagerProxyInterface: Send + Sync {
    type ListEndpointsResponseFut: Future<Output = Result<Vec<String>, Error>> + Send;
    type CreateEndpointResponseFut: Future<Output = Result<(i32, Option<ClientEnd<EndpointMarker>>), Error>> + Send;
    type GetEndpointResponseFut: Future<Output = Result<Option<ClientEnd<EndpointMarker>>, Error>> + Send;

    // Required methods
    fn list_endpoints(&self) -> Self::ListEndpointsResponseFut;
    fn create_endpoint(
        &self,
        name: &str,
        config: &EndpointConfig
    ) -> Self::CreateEndpointResponseFut;
    fn get_endpoint(&self, name: &str) -> Self::GetEndpointResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§