Skip to main content

write_adaptive

Function write_adaptive 

Source
pub fn write_adaptive<T: Send + Sync + 'static>(
    lock: &Arc<RwLock<T>>,
    context: &str,
    base: Duration,
) -> Option<OwnedRwLockWriteGuard<T>>
Expand description

write() with another base budget, still stretched by the I/O health.