Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
spin - Rust
[go: Go Back, main page]

Crate spin[][src]

Synchronization primitives based on spinning

Structs

Mutex

This type provides MUTual EXclusion based on spinning.

MutexGuard

A guard to which the protected data can be accessed

Once

A synchronization primitive which can be used to run a one-time global initialization. Unlike its std equivalent, this is generalized so that The closure returns a value and it is stored. Once therefore acts something like 1a future, too.

RwLock

A reader-writer lock

RwLockReadGuard

A guard to which the protected data can be read

RwLockWriteGuard

A guard to which the protected data can be written