/// Enables this previously disabled event source.
///
/// This previously disabled source will start generating events again.
///
/// **Note:** this cannot be done from within the source callback.
Enables this previously disabled event source.
This previously disabled source will start generating events again.

this cannot be done from within the source callback.
Enables this previously disabled event source . This previously disabled source will start generating events again . this cannot be done from within the source callback .
pub fn enable(&self, token: &RegistrationToken) -> io::Result<()> {
        if let Some(source) = self.inner.sources.borrow().get(token.key) {
            source.register(
                &mut *self.inner.poll.borrow_mut(),
                &mut TokenFactory::new(token.key),
            )?;
        }
        Ok(())
    }
pub fn enable ( & self , token : & RegistrationToken ) -> io :: Result < ( ) > { if let Some ( source ) = self . inner . sources . borrow ( ) . get ( token . key ) { source . register ( & mut * self . inner . poll . borrow_mut ( ) , & mut TokenFactory :: new ( token . key ) , ) ? ; } Ok ( ( ) ) }
Enables this previously disabled event source.
Enables this previously disabled event source .
&self
token
&RegistrationToken