pub trait EndpointExt {
// Required methods
fn resolve_endpoint(&self, name: &str) -> Result<&EndpointConfig, Error>;
fn call_service(
&self,
service_name: &str,
) -> impl Future<Output = Result<Value, Error>> + Send;
fn list_remote_models(
&self,
) -> impl Future<Output = Result<Vec<String>, Error>> + Send;
}Required Methods§
fn resolve_endpoint(&self, name: &str) -> Result<&EndpointConfig, Error>
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.