Skip to main content

core/io/
mod.rs

1//! Traits, helpers, and type definitions for core I/O functionality.
2
3mod borrowed_buf;
4mod cursor;
5mod error;
6mod util;
7
8#[unstable(feature = "core_io_borrowed_buf", issue = "117693")]
9pub use self::borrowed_buf::{BorrowedBuf, BorrowedCursor};
10#[unstable(feature = "core_io", issue = "154046")]
11pub use self::cursor::Cursor;
12#[unstable(feature = "core_io", issue = "154046")]
13pub use self::error::ErrorKind;
14#[unstable(feature = "raw_os_error_ty", issue = "107792")]
15pub use self::error::RawOsError;
16#[unstable(feature = "core_io", issue = "154046")]
17pub use self::util::{Chain, Empty, Repeat, Sink, Take, empty, repeat, sink};
18#[doc(hidden)]
19#[unstable(feature = "core_io_internals", reason = "exposed only for libstd", issue = "none")]
20pub use self::util::{chain, take};