Struct fp_rust::sync::CountDownLatch[][src]

pub struct CountDownLatch { /* fields omitted */ }

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.

``

Methods

impl CountDownLatch
[src]

Trait Implementations

impl Debug for CountDownLatch
[src]

Formats the value using the given formatter. Read more

impl Clone for CountDownLatch
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations