Function link_device

Source
pub async fn link_device<R: Rng + CryptoRng, Aci: PreKeysStore, Pni: PreKeysStore>(
    aci_store: &mut Aci,
    pni_store: &mut Pni,
    csprng: &mut R,
    push_service: PushService,
    password: &str,
    device_name: &str,
    tx: Sender<SecondaryDeviceProvisioning>,
) -> Result<(), ProvisioningError>