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§
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
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".