pub fn try_lock(&self, notify: multiwake::Sender) -> Option<FreeWorkerHandle> {
        if self.state.lock() {
            Some(FreeWorkerHandle {
                worker: self,
                notify,
            })
        } else {
            None
        }
    }
/// If this worker is idle, returns a handle to it.
/// Otherwise, returns None
If this worker is idle, returns a handle to it.
Otherwise, returns None
If this worker is idle returns a handle to it . Otherwise returns None
pub fn try_lock(&self, notify: multiwake::Sender) -> Option<FreeWorkerHandle> {
        if self.state.lock() {
            Some(FreeWorkerHandle {
                worker: self,
                notify,
            })
        } else {
            None
        }
    }
pub fn try_lock ( & self , notify : multiwake :: Sender ) -> Option < FreeWorkerHandle > { if self . state . lock ( ) { Some ( FreeWorkerHandle { worker : self , notify , } ) } else { None } }
If this worker is idle, returns a handle to it.
If this worker is idle returns a handle to it .
&self
notify
multiwake::Sender