Sha256: fd1ed5080495cab21117f6f7d3c2c9e3687cad0c69a0cd087b08a145a9e672da
Contents?: true
Size: 684 Bytes
Versions: 31
Compression:
Stored size: 684 Bytes
Contents
//! A tiny, `no_std`-friendly facade around `std::io`. //! Reexports types from `std` when available; otherwise reimplements and //! provides some of the core logic. //! //! The main reason that `std::io` hasn't found itself reexported as part of //! the `core` crate is the `std::io::{Read, Write}` traits' reliance on //! `std::io::Error`, which may contain internally a heap-allocated `Box<Error>` //! and/or now relying on OS-specific `std::backtrace::Backtrace`. pub use self::imp::{Error, ErrorKind, Result, Write}; #[cfg(not(feature = "std"))] #[path = "core.rs"] mod imp; #[cfg(feature = "std")] use std::io as imp; #[cfg(feature = "std")] pub use std::io::{Bytes, Read};
Version data entries
31 entries across 31 versions & 1 rubygems