Skip to main content

StreamingTopicResolver

Trait StreamingTopicResolver 

Source
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§

Source

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".

Implementors§