feature: raft message serde traits
It's a part of networking development.
Also, this patch refactors error handling introduced in previous commit
(see 96aba97a). A single struct is replaced with the enum, common for
all try_from
functions.
It's a part of networking development.
Also, this patch refactors error handling introduced in previous commit
(see 96aba97a). A single struct is replaced with the enum, common for
all try_from
functions.