/// Try to recieve the response, then drop the underlying machinery for handling the request.
/// On err, we simply return the object to be checked again later.
Try to recieve the response, then drop the underlying machinery for handling the request.
On err, we simply return the object to be checked again later.
Try to recieve the response then drop the underlying machinery for handling the request . On err we simply return the object to be checked again later .
pub fn try_recv(self) -> Result<T, Response<T>> {
        if let Ok(res) = self.rx.try_recv() {
            Ok(res)
        } else {
            Err(self)
        }
    }
pub fn try_recv ( self ) -> Result < T , Response < T > > { if let Ok ( res ) = self . rx . try_recv ( ) { Ok ( res ) } else { Err ( self ) } }
Try to recieve the response, then drop the underlying machinery for handling the request.
Try to recieve the response then drop the underlying machinery for handling the request .
self