Skip to main content

Module sync_lock

Module sync_lock 

Source
Available on crate feature sync only.
Expand description

This module provides a sync API based on threads with a simple built-in connection pool.

Structsยง

PoolOptions
Options used when building the connection pool of a sync RLock manager.
RLock
A manager for creating locks in Redis.
RLockGuard
A guard object representing an acquired Redis mutex lock.
RMultiKeyLockGuard
A guard object representing an acquired Redis mutex lock (multi-key).
RMultiKeyReadLockGuard
A guard object representing an acquired Redis read lock (multi-key).
RMultiKeyWriteLockGuard
A guard object representing an acquired Redis write lock (multi-key).
RReadLockGuard
A guard object representing an acquired Redis read lock.
RWriteLockGuard
A guard object representing an acquired Redis write lock.