Skip to content

Native Rust plugins: Capturing configuration in checkpoint_async #1326

Answered by bnjjj
invakid404 asked this question in Q&A
Discussion options

You must be logged in to vote

Actually cloning here is the solution. If it's a big message and you're concerned about cloning you can wrap your message into an Arc but it sounds like useless optimization to me.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@invakid404
Comment options

Answer selected by invakid404
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants