Trait Decode
raft4rs::entity
pub trait Decode { type Item; fn decode(buf: &[u8]) -> RaftResult<Self::Item>; }
type Item
fn decode(buf: &[u8]) -> RaftResult<Self::Item>
impl Decode for Entry
type Item = Self