MCPcopy Create free account
hub / github.com/casey/intermodal / InputStream

Interface InputStream

src/input_stream.rs:3–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1use crate::common::*;
2
3pub(crate) trait InputStream {
4 fn buf_read<'a>(&'a mut self) -> Box<dyn BufRead + 'a>;
5}
6
7impl InputStream for io::Stdin {
8 fn buf_read<'a>(&'a mut self) -> Box<dyn BufRead + 'a> {

Callers

nothing calls this directly

Implementers 1

input_stream.rssrc/input_stream.rs

Calls

no outgoing calls

Tested by

no test coverage detected