/// Tries to receive the status of the job. If available, it is returned.
/// This function will not block.
///
/// # Errors
///
/// Returns an error if the job isn't complete.
///
/// * [`TryRecvError::Disconnected`](flume::TryRecvError::Disconnected): The job has been cancelled.
/// * [`TryRecvError::Empty`](flume::TryRecvError::Empty): The job has not completed yet.
Tries to receive the status of the job. If available, it is returned.
This function will not block.
Tries to receive the status of the job . If available it is returned . This function will not block .
pub fn try_receive(
        &mut self,
    ) -> Result<Result<T, Arc<E>>, tokio::sync::oneshot::error::TryRecvError> {
        self.receiver.try_recv()
    }
pub fn try_receive ( & mut self , ) -> Result < Result < T , Arc < E > > , tokio :: sync :: oneshot :: error :: TryRecvError > { self . receiver . try_recv ( ) }
Tries to receive the status of the job.
Tries to receive the status of the job .
&mut self
errors
Returns an error if the job isn't complete.

[`TryRecvError::Disconnected`](flume::TryRecvError::Disconnected): The job has been cancelled.
[`TryRecvError::Empty`](flume::TryRecvError::Empty): The job has not completed yet.
Returns an error if the job isn ' t complete . [ ` TryRecvError :: Disconnected ` ] ( flume :: TryRecvError :: Disconnected ) : The job has been cancelled . [ ` TryRecvError :: Empty ` ] ( flume :: TryRecvError :: Empty ) : The job has not completed yet .