Trait watch_handler::Sender

source ·
pub trait Sender<T> {
    // Required method
    fn send_response(self, data: T);
}
Expand description

Trait that should be implemented to send data to the hanging get watcher.

Required Methods§

source

fn send_response(self, data: T)

Should send a response immediately to the sender.

Implementors§