Trait concurrency_traits::semaphore::TimeoutSemaphore [−][src]
pub unsafe trait TimeoutSemaphore: TrySemaphore { fn wait_timeout(&self, timeout: Duration) -> bool; }
Expand description
Required methods
Implementors
impl<C, CS> TimeoutSemaphore for ParkSemaphore<C, CS> where
C: Zero + One + AddAssign + SubAssign,
CS: ThreadTimeoutParker + TimeFunctions + ThreadFunctions,
[src]
impl<C, CS> TimeoutSemaphore for ParkSemaphore<C, CS> where
C: Zero + One + AddAssign + SubAssign,
CS: ThreadTimeoutParker + TimeFunctions + ThreadFunctions,
[src]