pub trait RDBParser { // Required method fn parse( &mut self, input: &mut dyn Read, length: i64, event_handler: &mut dyn EventHandler, ) -> Result<()>; }
Redis RDB 解析器定义
解析RDB的具体实现
方法参数:
input
length
event_handler