MCPcopy Create free account
hub / github.com/DNSCrypt/encrypted-dns-server / lock

Method lock

src/cache.rs:80–82  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

78
79 #[inline]
80 pub fn lock(&self) -> MutexGuard<'_, SieveCache<u128, CachedResponse>> {
81 self.cache.lock()
82 }
83}

Callers 7

is_allowedMethod · 0.80
handle_anonymized_dnsFunction · 0.80
tcp_acceptorFunction · 0.80
udp_acceptorFunction · 0.80
resolveFunction · 0.80
decryptFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected