Write a single event to the stream
(&mut self, event: &MemtrackEvent)
| 107 | |
| 108 | /// Write a single event to the stream |
| 109 | pub fn write_event(&mut self, event: &MemtrackEvent) -> anyhow::Result<()> { |
| 110 | event.serialize(&mut self.serializer)?; |
| 111 | Ok(()) |
| 112 | } |
| 113 | |
| 114 | /// Finish writing and flush the compression stream |
| 115 | pub fn finish(self) -> anyhow::Result<()> { |
no outgoing calls
no test coverage detected