pub trait EndpointExt {
// Required methods
fn resolve_endpoint(&self, name: &str) -> Result<&EndpointConfig>;
fn call_service(
&self,
service_name: &str,
) -> impl Future<Output = Result<Value>> + Send;
fn list_remote_models(
&self,
) -> impl Future<Output = Result<Vec<String>>> + Send;
}Required Methods§
fn resolve_endpoint(&self, name: &str) -> Result<&EndpointConfig>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.