(&mut self, _buf: &[u8])
| 990 | |
| 991 | impl std::io::Write for BrokenWriter { |
| 992 | fn write(&mut self, _buf: &[u8]) -> std::io::Result<usize> { |
| 993 | Err(std::io::Error::new( |
| 994 | std::io::ErrorKind::BrokenPipe, |
| 995 | "reader closed", |
| 996 | )) |
| 997 | } |
| 998 | |
| 999 | fn flush(&mut self) -> std::io::Result<()> { |
| 1000 | Ok(()) |
no outgoing calls
no test coverage detected