Deliver events from LTS
This commit is contained in:
@@ -190,7 +190,7 @@ impl PbFileReader {
|
||||
k += 1;
|
||||
}
|
||||
if k == self.wp {
|
||||
return Err(Error::with_msg("no header in pb file"));
|
||||
return Err(Error::with_msg("no nl in pb file"));
|
||||
}
|
||||
Ok(k)
|
||||
}
|
||||
@@ -198,6 +198,10 @@ impl PbFileReader {
|
||||
pub fn channel_name(&self) -> &str {
|
||||
&self.channel_name
|
||||
}
|
||||
|
||||
pub fn payload_type(&self) -> &PayloadType {
|
||||
&self.payload_type
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Serialize)]
|
||||
|
||||
Reference in New Issue
Block a user