diff options
author | Alex Crichton <alex@alexcrichton.com> | 2016-11-04 09:12:00 -0700 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2016-11-04 09:12:00 -0700 |
commit | 0a3dc0bb75203107ab44991b8548094cca70ec31 (patch) | |
tree | 4e054ac16ac7255ce0259b1d70705ab26f365844 /benches | |
parent | 4615c3ea788e409df1923b75699afb1a518f5702 (diff) |
Add a method to manually deregister an I/O object
Typically this happens automatically as the `E` in `PollEvented<E>` is an owned
reference (e.g. a `TcpStream`) where dropping that will close the resource,
automatically unregistering it from the event loop. In some situations, however,
this isn't always the case, so the deregistering needs to happen manually.
Diffstat (limited to 'benches')
0 files changed, 0 insertions, 0 deletions