std_
shims
0.1.1
Module sync
Module Items
Modules
Structs
In crate std_
shims
std_shims
Module
sync
Copy item path
Source
Modules
§
atomic
Atomic types
Structs
§
Arc
A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
Lazy
Lock
std
A value which is initialized on the first access.
Mutex
Mutex
Guard
An RAII implementation of a “scoped lock” of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.
Weak
Weak
is a version of
Arc
that holds a non-owning reference to the managed allocation.
Exclusive
Experimental
Exclusive
provides only
mutable
access, also referred to as
exclusive
access to the underlying value. It provides no
immutable
, or
shared
access to the underlying value.