Lines Matching refs:mio
33 events: Option<mio::Events>,
42 poll: mio::Poll,
69 registry: mio::Registry,
75 waker: mio::Waker,
91 const TOKEN_WAKEUP: mio::Token = mio::Token(1 << 31);
115 let poll = mio::Poll::new()?; in new()
116 let waker = mio::Waker::new(poll.registry(), TOKEN_WAKEUP)?; in new()
124 events: Some(mio::Events::with_capacity(1024)), in new()
182 fn dispatch(&mut self, token: mio::Token, ready: Ready) { in dispatch()
322 source: &mut impl mio::event::Source, in add_source()
335 .register(source, mio::Token(token), interest.to_mio())?; in add_source()
341 pub(super) fn deregister_source(&self, source: &mut impl mio::event::Source) -> io::Result<()> { in deregister_source()