pub fn upgrade(&self) -> Option<Target> {
        let inner = self.inner.upgrade()?;
        let events = self.events.clone();
        Some(Target {
            inner,
            events,
            task_manager: Arc::new(SingleFlight::new(|_| futures::future::ready(Ok(())).boxed())),
        })
    }
/// attempts to upgrade to a target with a null task manager.
attempts to upgrade to a target with a null task manager.
attempts to upgrade to a target with a null task manager .
pub fn upgrade(&self) -> Option<Target> {
        let inner = self.inner.upgrade()?;
        let events = self.events.clone();
        Some(Target {
            inner,
            events,
            task_manager: Arc::new(SingleFlight::new(|_| futures::future::ready(Ok(())).boxed())),
        })
    }
pub fn upgrade ( & self ) -> Option < Target > { let inner = self . inner . upgrade ( ) ? ; let events = self . events . clone ( ) ; Some ( Target { inner , events , task_manager : Arc :: new ( SingleFlight :: new ( | _ | futures :: future :: ready ( Ok ( ( ) ) ) . boxed ( ) ) ) , } ) }
attempts to upgrade to a target with a null task manager.
attempts to upgrade to a target with a null task manager .
&self
&self