pub fn poll_ready(&mut self, cx: &mut task::Context<'_>) -> Poll<crate::Result<()>> {
        match self.abort_tx.poll_canceled(cx) {
            Poll::Ready(()) => return Poll::Ready(Err(crate::Error::new_closed())),
            Poll::Pending => (), // fallthrough
        }

        self.tx
            .poll_ready(cx)
            .map_err(|_| crate::Error::new_closed())
    }
/// Check to see if this `Sender` can send more data.
Check to see if this `Sender` can send more data.
Check to see if this ` Sender ` can send more data .
pub fn poll_ready(&mut self, cx: &mut task::Context<'_>) -> Poll<crate::Result<()>> {
        match self.abort_tx.poll_canceled(cx) {
            Poll::Ready(()) => return Poll::Ready(Err(crate::Error::new_closed())),
            Poll::Pending => (), // fallthrough
        }
        self.tx
            .poll_ready(cx)
            .map_err(|_| crate::Error::new_closed())
    }
pub fn poll_ready ( & mut self , cx : & mut task :: Context < ' _ > ) -> Poll < crate :: Result < ( ) > > { match self . abort_tx . poll_canceled ( cx ) { Poll :: Ready ( ( ) ) => return Poll :: Ready ( Err ( crate :: Error :: new_closed ( ) ) ) , Poll :: Pending => ( ) , // fallthrough } self . tx . poll_ready ( cx ) . map_err ( | _ | crate :: Error :: new_closed ( ) ) }
Check to see if this `Sender` can send more data.
Check to see if this ` Sender ` can send more data .
&mut self
cx
&mut task::Context<'_>
&mut self
cx
&mut task::Context<'_>