pub struct RunningThread { /* private fields */ }
Expand description
A thread that has been started.
Implementations§
Source§impl RunningThread
impl RunningThread
Sourcepub fn join_timeout<T>(&self, timeout: T) -> Result<()>
pub fn join_timeout<T>(&self, timeout: T) -> Result<()>
Wait, with timeout, for this thread to finish executing.
Will block until either the thread terminates, or the timeout occurrs.
Auto Trait Implementations§
impl Freeze for RunningThread
impl RefUnwindSafe for RunningThread
impl !Send for RunningThread
impl !Sync for RunningThread
impl Unpin for RunningThread
impl UnwindSafe for RunningThread
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more