Expand description
Sync utilities common to netstack3.
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.
Traits§
- RcNotifier
- Provides delegated notification of all strong references of a
Primarybeing dropped.
Type Aliases§
- Lock
Guard - Lock guard for access to a
Mutex. - RwLock
Read Guard - Lock guard for read access to a
RwLock. - RwLock
Write Guard - Lock guard for write access to a
RwLock.