pub fn subscriber(&self, fd: Pollable) -> Result<Arc<Mutex<dyn Subscriber>>> {
        self.subscribers
            .get(&fd)
            .ok_or(Error::NotFound(fd))
            .map(|subscriber| subscriber.clone())
    }
/// Returns a clone of the subscriber associated with the `fd`.
Returns a clone of the subscriber associated with the `fd`.
Returns a clone of the subscriber associated with the ` fd ` .
pub fn subscriber(&self, fd: Pollable) -> Result<Arc<Mutex<dyn Subscriber>>> {
        self.subscribers
            .get(&fd)
            .ok_or(Error::NotFound(fd))
            .map(|subscriber| subscriber.clone())
    }
pub fn subscriber ( & self , fd : Pollable ) -> Result < Arc < Mutex < dyn Subscriber > > > { self . subscribers . get ( & fd ) . ok_or ( Error :: NotFound ( fd ) ) . map ( | subscriber | subscriber . clone ( ) ) }
Returns a clone of the subscriber associated with the `fd`.
Returns a clone of the subscriber associated with the ` fd ` .
&self
fd
Pollable