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]

Parks the current thread with a timeout. Analog to std::thread::park_timeout.

Implementors