pub fn deregister(&mut self,
                      socket: &AsRawSocket,
                      poll: &Poll,
                      registration: &Mutex<Option<poll::Registration>>)
                      -> io::Result<()> {
        trace!("deregistering");
        unsafe {
            try!(self.binding.deregister_socket(socket, poll));
        }

        registration.lock().unwrap()
                    .as_ref().unwrap()
                    .deregister(poll)
    }
/// Implementation of the `Evented::deregister` function.
///
/// Doesn't allow registration with another event loop, just shuts down
/// readiness notifications and such.
Implementation of the `Evented::deregister` function.
Doesn't allow registration with another event loop, just shuts down
readiness notifications and such.
Implementation of the ` Evented :: deregister ` function . Doesn ' t allow registration with another event loop just shuts down readiness notifications and such .
pub fn deregister(&mut self,
                      socket: &AsRawSocket,
                      poll: &Poll,
                      registration: &Mutex<Option<poll::Registration>>)
                      -> io::Result<()> {
        trace!("deregistering");
        unsafe {
            try!(self.binding.deregister_socket(socket, poll));
        }
        registration.lock().unwrap()
                    .as_ref().unwrap()
                    .deregister(poll)
    }
pub fn deregister ( & mut self , socket : & AsRawSocket , poll : & Poll , registration : & Mutex < Option < poll :: Registration > > ) -> io :: Result < ( ) > { trace ! ( " " ) ; unsafe { try ! ( self binding deregister_socket ( socket poll ) ) ; } registration . lock ( ) . unwrap ( ) . as_ref ( ) . unwrap ( ) . deregister ( poll ) }
Implementation of the `Evented::deregister` function.
Implementation of the ` Evented :: deregister ` function .
&mut self
socket
&AsRawSocket
poll
&Poll
registration
&Mutex<Option<poll::Registration>>