Trait concurrency_traits::ThreadTimeoutParker [−][src]
pub trait ThreadTimeoutParker: ThreadParker { fn park_timeout(self, timeout: Duration); }
Functions to allow parking functionality with timeout for threads.
Required methods
fn park_timeout(self, timeout: Duration)
[src]
Parks the current thread with a timeout. Analog to std::thread::park_timeout
.