Module std::io::preludeUnstable [-] [+] [src]

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:

fn main() { use std::io::prelude::*; }
use std::io::prelude::*;

This module contains reexports of many core I/O traits such as Read, Write, ReadExt, and WriteExt. Structures and functions are not contained in this module.

Reexports

pub use super::{Read, ReadExt, Write, WriteExt, BufRead, BufReadExt};
pub use fs::PathExt;
pub use super::Seek as NewSeek;