pub trait ResponseSink: Send + Sync {
// Required method
fn send(&self, response: DebugResponse);
}Expand description
Callback for sending responses to a connected client.
Required Methods§
fn send(&self, response: DebugResponse)
Implementors§
impl<F: Fn(DebugResponse) + Send + Sync> ResponseSink for F
Blanket impl for closures.