Module len_caching_lock::rwlock 
source · [−]Structs
Guard that caches T’s len() in an AtomicUsize when dropped
Can be used in place of a RwLock where
reading T’s len() without needing to lock, is advantageous.
When the WriteGuard is released, T’s len() will be cached.