[][src]Trait tari_utilities::thread_join::thread_join::ThreadJoinWithTimeout

pub trait ThreadJoinWithTimeout<T> {
    fn timeout_join(self, timeout_in_ms: Duration) -> Result<(), ThreadError>;
}

Required methods

fn timeout_join(self, timeout_in_ms: Duration) -> Result<(), ThreadError>

Attempt to join the current thread with a configurable timeout

Loading content...

Implementations on Foreign Types

impl<T> ThreadJoinWithTimeout<T> for JoinHandle<T> where
    T: 'static, 
[src]

Extend JoinHandle to have member functions that enable join with a timeout

Loading content...

Implementors

Loading content...