[−][src]Trait new_home_application::net::tcp_reader::TcpReader
The TcpReader
trait is meant to abstract some kind of a stream reader
This is useful in unit tests where a reader type is required
Required methods
fn read_line(&mut self) -> Result<String, Error>
Reads a line from the connected std::net::BufReader
Returns the read line