🔬This is a nightly-only experimental API. (
alloc_io)Available on crate features
protobuf and ttrpc only.Expand description
The I/O Prelude.
The purpose of this module is to alleviate imports of many common I/O traits by adding a glob import to the top of I/O heavy modules:
use std::io::prelude::*;Traits§
- BufRead
Experimental - A
BufReadis a type ofReader which has an internal buffer, allowing it to perform extra ways of reading. - Read
Experimental - The
Readtrait allows for reading bytes from a source. - Seek
Experimental - The
Seektrait provides a cursor which can be moved within a stream of bytes. - Write
Experimental - A trait for objects which are byte-oriented sinks.