Skip to main content

adopt_email_bindings

Function adopt_email_bindings 

Source
pub(super) async fn adopt_email_bindings(
    services: &Services,
    localpart_email: &Arc<Map>,
) -> Result
Expand description

Adopts every binding an opened foreign column holds.

Addresses are taken one at a time because two foreign addresses can fold onto one canonical key, and a concurrent pass would clear both through the in-use check before either wrote the reverse row.