pub trait GetTopic<T: RexTopic>: Debug {
    // Required method
    fn get_topic(&self) -> T;
}
Expand description

Used to derive a marker used to route Notifications to NotificationProcessors

Required Methods§

source

fn get_topic(&self) -> T

Implementors§

source§

impl<M, T> GetTopic<T> for Notification<M>
where T: RexTopic, M: RexMessage + GetTopic<T>,