1mod borrowed_buf;
4mod cursor;
5mod error;
6mod impls;
7mod io_slice;
8mod seek;
9mod size_hint;
10mod util;
11
12#[unstable(feature = "core_io_borrowed_buf", issue = "117693")]
13pub use self::borrowed_buf::{BorrowedBuf, BorrowedCursor};
14#[unstable(feature = "raw_os_error_ty", issue = "107792")]
15pub use self::error::RawOsError;
16#[unstable(feature = "io_const_error_internals", issue = "none")]
17pub use self::error::SimpleMessage;
18#[unstable(feature = "io_const_error", issue = "133448")]
19pub use self::error::const_error;
20#[unstable(feature = "core_io", issue = "154046")]
21pub use self::{
22 cursor::Cursor,
23 error::{Error, ErrorKind, Result},
24 io_slice::{IoSlice, IoSliceMut},
25 seek::{Seek, SeekFrom},
26 util::{Chain, Empty, Repeat, Sink, Take, empty, repeat, sink},
27};
28#[doc(hidden)]
29#[unstable(feature = "core_io_internals", reason = "exposed only for libstd", issue = "none")]
30pub use self::{
31 error::{Custom, CustomOwner, OsFunctions},
32 seek::stream_len_default,
33 size_hint::SizeHint,
34 util::{chain, take},
35};
36
37#[doc(hidden)]
54#[unstable(feature = "core_io_internals", reason = "exposed only for libstd", issue = "none")]
55pub trait IoHandle {}