pub trait NamespacedClient {
// Required methods
fn namespace(&self) -> String;
fn identity(&self) -> String;
// Provided method
fn data_converter(&self) -> &DataConverter { ... }
}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.