pub trait ServiceInstanceResolverProxyInterface: Send + Sync {
type ResolveServiceInstanceResponseFut: Future<Output = Result<ServiceInstance, Error>> + Send;
// Required method
fn resolve_service_instance(
&self,
service: &str,
instance: &str,
timeout: i64,
options: &ServiceInstanceResolutionOptions,
) -> Self::ResolveServiceInstanceResponseFut;
}Required Associated Types§
type ResolveServiceInstanceResponseFut: Future<Output = Result<ServiceInstance, Error>> + Send
Required Methods§
fn resolve_service_instance( &self, service: &str, instance: &str, timeout: i64, options: &ServiceInstanceResolutionOptions, ) -> Self::ResolveServiceInstanceResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".