pub async fn initiate_session<R: Rng + CryptoRng>(
remote_address: &ProtocolAddress,
local_address: &ProtocolAddress,
session_store: &mut dyn SessionStore,
identity_store: &mut dyn IdentityKeyStore,
bundle: &PreKeyBundle,
now: SystemTime,
csprng: &mut R,
) -> Result<()>Expand description
Establish or refresh a locally-initiated session for remote_address
using the recipient’s latest pre-key bundle.