Expand description
Useful synchronization primitives.
Structs§
- Debug
References - Provides a
Debug
implementation that contains information helpful for debugging dangling references. - DynDebug
References - Like
DebugReferences
, but type-erases the contained type. - MapRc
Notifier - An implementation of
Notifier
that wraps anotherNotifier
and applies a function on notified objects. - Mutex
- A
sync::Mutex
assuming lock poisoning will never occur. - Primary
Rc - A primary reference.
- RwLock
- A
sync::RwLock
assuming lock poisoning will never occur. - Strong
Rc - A strongly-held reference.
- WeakRc
- A weakly-held reference.
Enums§
- Remove
Resource Result - The result of removing some reference-counted resource from core.
Traits§
- RcNotifier
- Provides delegated notification of all strong references of a
Primary
being dropped.
Type Aliases§
- Lock
Guard - Lock guard for access to a
Mutex
. - Remove
Resource Result With Context - An alias for
RemoveResourceResult
that extracts the receiver type from the bindings context. - RwLock
Read Guard - Lock guard for read access to a
RwLock
. - RwLock
Write Guard - Lock guard for write access to a
RwLock
.