Function raftstore::store::util::parse_data_at[][src]

pub fn parse_data_at<T: Message + Default>(
    data: &[u8],
    index: u64,
    tag: &str
) -> T

Parse data of entry index.

Panics

If data is corrupted, this function will panic.