TracingLiveMsgSubscriber

Trait TracingLiveMsgSubscriber 

Source
pub trait TracingLiveMsgSubscriber:
    Send
    + Sync
    + 'static {
    // Required method
    fn on_msg(&self, msg: TLMsg);
}

Required Methods§

Source

fn on_msg(&self, msg: TLMsg)

Trait Implementations§

Implementations on Foreign Types§

Source§

impl TracingLiveMsgSubscriber for Box<dyn TracingLiveMsgSubscriber>

Source§

fn on_msg(&self, msg: TLMsg)

Source§

impl<T, F> TracingLiveMsgSubscriber for (T, Option<F>)
where T: TracingLiveMsgSubscriber, F: Fn(&TLMsg) + Send + Sync + 'static,

Source§

fn on_msg(&self, msg: TLMsg)

Source§

impl<T, F> TracingLiveMsgSubscriber for (T, F)
where T: TracingLiveMsgSubscriber, F: Fn(&TLMsg) + Send + Sync + 'static,

Source§

fn on_msg(&self, msg: TLMsg)

Implementors§