Skip to content
Snippets Groups Projects
Verified Commit 5abf278b authored by Yaroslav Dynnikov's avatar Yaroslav Dynnikov
Browse files

refactor: from / into types conversion

1. Trait `From` for `traft::row::Entry` now accepts a value instead of a
   reference in order to avoid unnecessary clones. A caller makes a
   clone itself if necessary.

2. Trait `From` implementation for `traft::Message` now accepts a
   reference instead of a value. Anyway, it uses msgpack under the hood
   and doesn't affect performance.
parent 9e743ff6
No related branches found
No related tags found
1 merge request!26refactor: from / into types conversion
Pipeline #3470 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment