Crates.io | fut_rwlock |
lib.rs | fut_rwlock |
version | 0.1.0 |
source | src |
created_at | 2021-07-31 02:56:43.082124 |
updated_at | 2021-07-31 02:56:43.082124 |
description | A read-write lock that is read and written via Futures. |
homepage | |
repository | https://github.com/plasticartsshow/fut_rwlock |
max_upload_size | |
id | 429512 |
size | 28,888 |
FutRwLock
returns a Future-wrapped locks to a read-write lock synchronization primitive.
It is a wrapper around the std library synchronization primitive [std::sync::RwLock].
await
ed even if it resolves immediately. If a lock isn't awaited, it does nothing.License: Apache-2.0