Searched refs:handle (Results 1 – 2 of 2) sorted by relevance
7 handle: Option<JoinHandle<()>>, field19 let handle = thread::spawn(func); in new() localVariable22 handle: Some(handle), in new()37 Some(self.handle.as_ref()?.thread().id()) in id()41 self.handle.as_ref()?.thread().name() in name()45 if self.handle.is_none() { in join()48 self.handle.take().unwrap().join().map_err(|_| ()) in join()52 if let Some(ref handle) = self.handle { in is_finished()53 handle.is_finished() in is_finished()
106 pub fn handle(&self) { in handle() method286 pub fn handle(&self, prompt: Option<String>) { in handle() method661 .handle(if internal { in execute()