Expand description
§Qubit Lock
Lock utilities for the Qubit Rust libraries.
The crate provides:
- Synchronous lock wrappers with
Arcintegrated internally. - Asynchronous Tokio-based lock wrappers.
- Monitor-style coordination built on
MutexplusCondvar.
Re-exports§
pub use lock::ArcAsyncMutex;pub use lock::ArcAsyncRwLock;pub use lock::ArcMonitor;pub use lock::ArcMutex;pub use lock::ArcRwLock;pub use lock::ArcStdMutex;pub use lock::AsyncLock;pub use lock::Lock;pub use lock::Monitor;pub use lock::MonitorGuard;pub use lock::TryLockError;pub use lock::WaitTimeoutResult;pub use lock::WaitTimeoutStatus;