Searched defs:EventPacket (Results 1 – 3 of 3) sorted by relevance
97 pub async fn send(&mut self, cmd: CommandPacket) -> Result<EventPacket> { in send()130 pub async fn register(&mut self, code: EventCode, sender: Sender<EventPacket>) { in register()169 evt_handlers: Arc<Mutex<HashMap<EventCode, Sender<EventPacket>>>>, in dispatch()171 evt_rx: Arc<Mutex<Receiver<EventPacket>>>, in dispatch()248 async fn consume(evt_rx: &Arc<Mutex<Receiver<EventPacket>>>) -> Option<EventPacket> { in consume()
75 evt_tx: UnboundedSender<EventPacket>, in dispatch_incoming()
258 event: EventPacket, in dispatch_to()