Function tcp_handler::encrypt::send
source · pub async fn send<W: AsyncWriteExt + Unpin + Send>(
stream: &mut W,
message: &Bytes,
cipher: (AesGcm<Aes256, U12>, Nonce<U12>)
) -> Result<(AesGcm<Aes256, U12>, Nonce<U12>), PacketError>