y the reactor.</p>
<p>There are a couple of ways to do this.</p>
<p>If the custom I/O resource implements <a href="https://docs.rs/mio/0.6/mio/trait.Evented.html"><code>mio::Evented</code></a> and implements
<a href="https://doc.rust-lang.org/std/io/trait.Read.html"><code>std::Read</code></a> and / or <a href="https://doc.rust-lang.org/std/io/trait.Write.html"><code>std::Write</code></a>, then <a href="struct.PollEvented.html"><code>PollEvented</code></a> is the most
suited.</p>
<p>Otherwise, <a href="struc