Skip to main content

lock_origins

Function lock_origins 

Source
fn lock_origins(
    origins: &Mutex<HashMap<Option<IpAddr>, Arc<Semaphore>>>,
) -> MutexGuard<'_, HashMap<Option<IpAddr>, Arc<Semaphore>>>