The Rust standard-library Read trait defines shared byte-reading behavior. File, Stdin, TcpStream, and user-defined types can implement it, exposing the same read() method across input sources. section 2.2.2
Reading and echoing TCP data
A TCP server imports Read, allocates a mutable byte buffer, and calls stream.read(&mut buffer). A client writes "Hello", reads five bytes into its buffer, and prints the UTF-8 response.
