Deliver events from LTS

This commit is contained in:
Dominik Werder
2021-07-10 14:05:42 +02:00
parent 09724fd540
commit 35f3f9249e
8 changed files with 118 additions and 185 deletions

View File

@@ -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)]