pub fn read_next_frame( reader: &mut impl Read, file_len: u64, offset: &mut u64, ) -> Result<Result<WalFrame, WalReadStatus>, String>