[][src]Trait thread_tryjoin::TryJoinHandle

pub trait TryJoinHandle {
    fn try_join(&self) -> Result<(), IoError>;
fn try_timed_join(&self, wait: Duration) -> Result<(), IoError>; }

Try joining a thread.

Required methods

fn try_join(&self) -> Result<(), IoError>

Try joining a thread.

fn try_timed_join(&self, wait: Duration) -> Result<(), IoError>

Try joining a thread with a timeout.

This waits for the specified duration. If the timeout expires before the thread terminates, the call returns an error. Otherwise it succeeds.

Loading content...

Implementations on Foreign Types

impl<T> TryJoinHandle for JoinHandle<T>[src]

Loading content...

Implementors

Loading content...