fn register(&mut self, cx: &mut Context<'_>) {
        if self
            .task
            .as_ref()
            .map_or(true, |w| !cx.waker().will_wake(w))
        {
            self.task = Some(cx.waker().clone());
        }
    }
/// Register future waiting data from payload.
/// Waker would be used in `Inner::wake`
Register future waiting data from payload.
Waker would be used in `Inner::wake`
Register future waiting data from payload . Waker would be used in ` Inner :: wake `
fn register(&mut self, cx: &mut Context<'_>) {
        if self
            .task
            .as_ref()
            .map_or(true, |w| !cx.waker().will_wake(w))
        {
            self.task = Some(cx.waker().clone());
        }
    }
fn register ( & mut self , cx : & mut Context < ' _ > ) { if self . task . as_ref ( ) . map_or ( true , | w | ! cx . waker ( ) . will_wake ( w ) ) { self . task = Some ( cx . waker ( ) . clone ( ) ) ; } }
Register future waiting data from payload.
Register future waiting data from payload .
&mut self
cx
&mut Context<'_>
&mut self
cx
&mut Context<'_>