interprocess-docfix 1.2.2

Interprocess communication toolkit. Docs fixed.
Documentation
1
2
3
4
5
6
7
8
9
use interprocess::local_socket::LocalSocketStream;
use std::io;

pub fn main() -> anyhow::Result<()> {
    let mut stream = LocalSocketStream::connect("/tmp/teletype.sock")?;
    eprintln!("Teletype client connected to server.\n");
    io::copy(&mut io::stdin(), &mut stream)?;
    Ok(())
}