Expand description
Useful synchronization primitives.
Structs§
- Debug
References - Provides a
Debugimplementation that contains information helpful for debugging dangling references. - DynDebug
References - Like
DebugReferences, but type-erases the contained type. - MapRc
Notifier - An implementation of
Notifierthat wraps anotherNotifierand applies a function on notified objects. - Mutex
- A
sync::Mutexassuming lock poisoning will never occur. - Primary
Rc - A primary reference.
- Resource
Token - An opaque token associated with a resource.
- Resource
Token Value - Holder of a value for
ResourceToken. VendsResourceTokeninstances with the same value and the lifetime bound to the lifetime of the holder. - RwLock
- A
sync::RwLockassuming 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
Primarybeing dropped.
Type Aliases§
- Lock
Guard - Lock guard for access to a
Mutex. - Remove
Resource Result With Context - An alias for
RemoveResourceResultthat 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.