pub trait EndpointConfig: Debug + Deserialize { // Required method fn to_endpoint(&self) -> Result<Box<dyn Endpoint + Send>, Error>; }
A data structure that can be deserialized and converted into an Endpoint.
Endpoint
Convert this EndpointConfig into an Endpoint.
EndpointConfig