Skip to main content

MutexGuard

Type Alias MutexGuard 

Source
pub type MutexGuard<'a, T> = MutexGuard<'a, NoxuRawMutex, T>;
Expand description

Re-export of the synchronization primitive that appears in this crate’s public API. SecondaryDatabase::open takes the primary database wrapped in Arc<Mutex<Database>>; this re-export lets callers name that Mutex (and its guard) without depending on the internal noxu-sync crate directly — reachable as noxu::Mutex through the umbrella. RAII guard returned by Mutex::lock.

Aliased Type§

pub struct MutexGuard<'a, T> { /* private fields */ }