Lines Matching refs:channel
1099 let channel: Rc<Channel<D>> = unsafe { Channel::from_opaque_ptr(event.cookie) } in event_loop_inner() localVariable
1107 self.handler(channel, &event) in event_loop_inner()
1110 fn handler(&mut self, channel: Rc<Channel<D>>, event: &trusty_sys::uevent) -> Result<()> { in handler()
1112 match &channel.ty { in handler()
1114 self.handle_connect(&channel.handle, cfg) in handler()
1117 match self.handle_message(&channel.handle, &data) { in handler()
1120 self.handle_set.close(channel); in handler()
1125 self.handle_set.close(channel); in handler()
1131 self.handle_disconnect(&channel.handle, &data); in handler()
1132 self.handle_set.close(channel); in handler()
1299 let channel = Channel::try_new_port(&cfg); in port_create() localVariable
1300 expect!(channel.is_ok(), "create ports"); in port_create()
1301 channels.try_push(channel.unwrap()).unwrap(); in port_create()
1313 let channel = Channel::try_new_port(&cfg); in port_create() localVariable
1314 expect!(channel.is_ok(), "create ports"); in port_create()
1315 channels.try_push(channel.unwrap()).unwrap(); in port_create()
1342 let channel = Channel::try_new_port(&cfg); in wait_on_port() localVariable
1343 expect!(channel.is_ok(), "create ports"); in wait_on_port()
1344 channels.try_push(channel.unwrap()).unwrap(); in wait_on_port()