pub trait NamespacedClient {
// Required methods
fn namespace(&self) -> String;
fn identity(&self) -> String;
// Provided methods
fn data_converter(&self) -> &DataConverter { ... }
fn client_interceptors(&self) -> &[Arc<dyn ClientInterceptor>] { ... }
}Expand description
A client that is bound to a namespace
Required Methods§
Provided Methods§
Sourcefn data_converter(&self) -> &DataConverter
fn data_converter(&self) -> &DataConverter
Returns the data converter for serializing/deserializing payloads. Default implementation returns a static default converter.
Sourcefn client_interceptors(&self) -> &[Arc<dyn ClientInterceptor>]
fn client_interceptors(&self) -> &[Arc<dyn ClientInterceptor>]
Returns the interceptors used for high-level client operations.
§Warning
This provider exists so SDK-owned client handles can carry interceptor configuration through the high-level client blanket implementation. Custom client implementations should normally retain the default empty chain unless they deliberately provide the same plumbing.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".