GetTopic

Trait GetTopic 

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