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

Incapsulate raw raft node

This patch eliminates raw raft node dereferencing and redundant use of
`borrow_mut()`.  Instead, `traft::Node` provides a safe API that
communicates with the raw node through the fiber channel.

Also, functions `node::new` and `node::start` are merged because keeping
them distinct makes no sense.
parent f7de661b
No related branches found
No related tags found
Loading
Checking pipeline status
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