[][src]Trait raft4rs::entity::Decode

pub trait Decode {
    type Item;
    fn decode(buf: &[u8]) -> RaftResult<Self::Item>;
}

Associated Types

type Item

Loading content...

Required methods

fn decode(buf: &[u8]) -> RaftResult<Self::Item>

Loading content...

Implementors

impl Decode for Entry[src]

type Item = Self

Loading content...