send_tarpc_message

Function send_tarpc_message 

Source
async fn send_tarpc_message<TarpcMsg>(
    _signing_key: &SigningKey,
    _target_public_key: VerifyingKey,
    _messages_service: &MessagesService,
    _message: &TarpcMsg,
) -> Result<()>
where TarpcMsg: Serialize,
Expand description

Internal helper function to send tarpc messages
Serializes the message using postcard before encryption