Skip to main content

write_lock_render

Function write_lock_render 

pub fn write_lock_render<'a, T>(
    lock: &'a RwLock<T>,
    context: &'static str,
) -> Result<RwLockWriteGuard<'a, T>, RenderError>
where T: ?Sized,
Expand description

Like mutex_lock_render but for RwLock<T> write access.