mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-02 09:32:46 +00:00
18 lines
344 B
Rust
18 lines
344 B
Rust
pub mod io {
|
|
pub trait Read {
|
|
fn read(&mut self);
|
|
}
|
|
}
|
|
|
|
pub mod bufreader {
|
|
// @has crate_relative_assoc/bufreader/index.html '//a/@href' 'struct.TcpStream.html#method.read'
|
|
//! [`crate::TcpStream::read`]
|
|
use crate::io::Read;
|
|
}
|
|
|
|
pub struct TcpStream;
|
|
|
|
impl crate::io::Read for TcpStream {
|
|
fn read(&mut self) {}
|
|
}
|