Struct fp_rust::sync::CountDownLatch [−][src]
pub struct CountDownLatch { /* fields omitted */ }
Expand description
CountDownLatch
implements a latch with a value(> 0),
waiting for the value counted down until <= 0
(the countdown action would be in other threads).
Remarks
It’s inspired by CountDownLatch
in Java
, and easily use it on async scenaios.
``
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CountDownLatch
impl Send for CountDownLatch
impl Sync for CountDownLatch
impl Unpin for CountDownLatch
impl !UnwindSafe for CountDownLatch
Blanket Implementations
Mutably borrows from an owned value. Read more