Expand description
Generic shared wrapper traits and utilities
This module provides reusable patterns for creating thread-safe wrappers around types that need to be shared across multiple async tasks while encapsulating Arc/Mutex complexity.
Structs§
- Consumable
Shared - Specialized shared wrapper for types that can be consumed (like servers)
- Shared
- A generic shared wrapper that implements the Shareable pattern
Enums§
- Shared
Error - Errors that can occur when working with shared wrappers
Traits§
- Shareable
- Trait for types that can be wrapped in a thread-safe shared wrapper