pub trait StreamingTopicResolver {
// Required method
fn resolve_topic(&self, name: &str) -> &'static str;
}Expand description
Type-safe streaming topic resolver trait.
Mirrored from reinhardt_urls::StreamingTopicResolver to avoid requiring
reinhardt-urls as a direct dependency of reinhardt-streaming.
Required Methods§
Sourcefn resolve_topic(&self, name: &str) -> &'static str
fn resolve_topic(&self, name: &str) -> &'static str
Resolve a registered logical handler name to its backend topic name.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".