(&self, n: u32)
| 93 | } |
| 94 | |
| 95 | fn tail(&self, n: u32) -> io::Result<Bytes> { |
| 96 | let mut file = File::open(&self.path)?; |
| 97 | read_lines(&mut file, n).map(Into::into) |
| 98 | } |
| 99 | |
| 100 | fn tail_stream(&self, n: Option<u32>) -> LogStream { |
| 101 | stream::once(asyncify({ |
no test coverage detected