/// Deregisters this source of events from the reactor core specified.
///
/// This method can optionally be called to unregister the underlying I/O
/// object with the event loop that the `handle` provided points to.
/// Typically this method is not required as this automatically happens when
/// `E` is dropped, but for some use cases the `E` object doesn't represent
/// an owned reference, so dropping it won't automatically unregister with
/// the event loop.
///
/// This consumes `self` as it will no longer provide events after the
/// method is called, and will likely return an error if this `PollEvented`
/// was created on a separate event loop from the `handle` specified.
Deregisters this source of events from the reactor core specified.
This method can optionally be called to unregister the underlying I/O
object with the event loop that the `handle` provided points to.
Typically this method is not required as this automatically happens when
`E` is dropped, but for some use cases the `E` object doesn't represent
an owned reference, so dropping it won't automatically unregister with
the event loop.


Deregisters this source of events from the reactor core specified . This method can optionally be called to unregister the underlying I / O object with the event loop that the ` handle ` provided points to . Typically this method is not required as this automatically happens when ` E ` is dropped but for some use cases the ` E ` object doesn ' t represent an owned reference so dropping it won ' t automatically unregister with the event loop .
pub fn deregister(&self) -> io::Result<()>
        where E: Evented,
    {
        let inner = match self.handle().inner() {
            Some(inner) => inner,
            None => return Ok(()),
        };
        inner.deregister_source(&self.io)
    }
pub fn deregister ( & self ) -> io :: Result < ( ) > where E : Evented , { let inner = match self . handle ( ) . inner ( ) { Some ( inner ) => inner , None => return Ok ( ( ) ) , } ; inner . deregister_source ( & self . io ) }
Deregisters this source of events from the reactor core specified.
Deregisters this source of events from the reactor core specified .
&self