Module concurrency_traits::rw_lock[][src]

Traits for RwLocks

Structs

CustomReadGuard

The read guard for CustomRwLock

CustomRwLock

A custom rw lock that can be built from any RawTryRwLock variant

CustomWriteGuard

The write guard for CustomRwLock

Traits

AsyncRwLock

A generic async reader-writer lock trait

AsyncRwLockSized

The functions for AsyncRwLock that only work for sized types. Separated to allow AsyncRwLock to be a trait object.

AsyncTimeoutRwLock

An async RwLock that can be timed out on

AsyncTimeoutRwLockSized

The functions for AsyncTimeoutRwLock that only work for sized types. Separated to allow AsyncTimeoutRwLock to be a trait object.

AsyncUpgradeReadGuard

A read guard that can be upgraded to a write guard asynchronously

AsyncUpgradeRwLock

An async rwlock that has read guards that can be upgraded asynchronously

RawAsyncRwLock

A raw async rw lock that stores no data

RawAsyncTimeoutRwLock

A raw async timeout rw lock that stores no data

RawRwLock

A raw rw lock that stores no data

RawTimeoutRwLock

A raw timeout rw lock that stores no data

RawTryRwLock

A raw try rw lock that stores no data

RwLock

A generic blocking reader-writer lock trait

RwLockSized

The functions for RwLock that only work for sized types. Separated to allow RwLock to be a trait object.

TimeoutRwLock

An RwLock that can be timed out on

TimeoutRwLockSized

The functions for TimeoutRwLock that only work for sized types. Separated to allow TimeoutRwLock to be a trait object.

TryRwLock

A non-blocking rwlock with try functions

TryRwLockSized

The functions for TryRwLock that only work for sized types. Separated to allow TryRwLock to be a trait object.

UpgradeReadGuard

A read guard that can be upgraded to a write guard

UpgradeRwLock

An rwlock that has read guards that can be upgraded