Skip to main content

Module sync

Module sync 

Source
Expand description

Generic synchronization strategy for interior mutability.

This module provides a trait abstraction over Mutex<T> and RefCell<T> to enable compile-time selection between thread-safe and single-threaded variants.

Traitsยง

SyncStrategy
A synchronization strategy for providing interior mutability.