Trait ya_service_bus::connection::CallRequestHandler [−][src]
pub trait CallRequestHandler { type Reply: Stream<Item = Result<ResponseChunk, Error>> + Unpin; fn do_call(
&mut self,
request_id: String,
caller: String,
address: String,
data: Vec<u8>
) -> Self::Reply; fn handle_event(&mut self, caller: String, topic: String, data: Vec<u8>) { ... } fn on_disconnect(&mut self) { ... } }
Associated Types
Required methods
Provided methods
fn on_disconnect(&mut self)