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§
Sourcefn send_response(self, data: T)
fn send_response(self, data: T)
Should send a response immediately to the sender.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".