Crate rw_lease

Source

Structs§

DrainGuard
The DrainGuard represents waiting for the readers to release their leases so we can take a write lease.
RWLease
An RWLock, but:
ReadGuard
This guard signifies read access. When it drops, it will release the read lock.
WriteGuard
This guard signifies write access. When it drops, it will release the write lock.

Enums§

Blocked
Can happen when we try to take a read lease.