Skip to main content

try_lock_plugin

Function try_lock_plugin 

Source
pub fn try_lock_plugin<P>(plugin: &PluginMutex<P>) -> Option<PluginGuard<'_, P>>
Expand description

lock_plugin’s non-blocking twin: None only when the lock is genuinely held (poison is forgiven, same rationale).