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