Skip to main content

update

Function update 

Source
pub fn update(
    certs: &Arc<ArcSwap<HashMap<String, ManagedCert>>>,
    id: &CertId,
    f: impl FnOnce(&mut ManagedCert),
)
Expand description

Mutates the entry for id in place (no-op when absent).