netio

Crates.ionetio
lib.rsnetio
version0.6.1
sourcesrc
created_at2016-03-30 21:36:54.706797
updated_at2017-12-30 21:19:33.098214
descriptionAlternative implementation of parts of `std::io`, better suited for blocking IO over networks.
homepage
repositoryhttps://bitbucket.org/troplin/netio-rs
max_upload_size
id4629
size128,826
Tobias Müller (troplin)

documentation

https://docs.rs/netio/0.6.1/netio/

README

netio

Crates.io

Alternative implementation of many functions found in std::io, but suitable for blocking IO over networks.

Description

The main reason for this crate is the handling of std::io::ErrorKind::Interrupted in std::io: Except for read() and write(), almost all functions will ignore interrupts and just retry.

This crate provides alternative implementations using a similar API but allow for interrupts whithout losing any content.

Most functions are based on BufRead instead of Read to ensure that no content is lost on retry.

Commit count: 0

cargo fmt