pub struct ReadyThread { /* private fields */ }
Expand description
A thread that has been set up and is ready to start.
Represents a thread that has been created, but not yet started.
Implementations§
Source§impl ReadyThread
impl ReadyThread
Sourcepub fn set_priority(&self, priority: c_int)
pub fn set_priority(&self, priority: c_int)
Change the priority of this thread before starting it. The initial default priority was determined by the declaration of the thread.
Sourcepub fn start(self) -> RunningThread
pub fn start(self) -> RunningThread
Start this thread.
Auto Trait Implementations§
impl Freeze for ReadyThread
impl RefUnwindSafe for ReadyThread
impl !Send for ReadyThread
impl !Sync for ReadyThread
impl Unpin for ReadyThread
impl UnwindSafe for ReadyThread
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