rust/src/libstd/io
Alex Crichton b97e1cc28e rollup merge of #23541: aturon/stab-error
This small commit stabilizes the `Error` trait as-is, except that `Send`
and `Debug` are added as constraints. The `Send` constraint is because
most uses of `Error` will be for trait objects, and by default we would
like these objects to be transferrable between threads. The `Debug`
constraint is to ensure that e.g. `Box<Error>` is `Debug`, and because
types that implement `Display` should certainly implement `Debug` in any case.

In the near future we expect to add `Any`-like downcasting features to
`Error`, but this is waiting on some additional
mechanisms (`Reflect`). It will be added before 1.0 via default methods.

[breaking-change]

r? @alexcrichton

Closes #21790
2015-03-23 15:09:08 -07:00
..
buffered.rs Stabilize the Error trait 2015-03-23 11:27:19 -07:00
cursor.rs don't use Result::ok just to be able to use unwrap/unwrap_or 2015-03-20 08:19:13 +01:00
error.rs std: Stablize io::ErrorKind 2015-03-19 09:59:21 -07:00
impls.rs std: Stabilize the io module 2015-03-12 20:39:03 -07:00
lazy.rs std: Implement stdio for std::io 2015-02-28 23:13:02 -08:00
mod.rs Rollup merge of #23499 - mbrubeck:doc-edit, r=huonw 2015-03-20 12:43:13 +05:30
prelude.rs std: Remove old_io/old_path from the prelude 2015-03-20 20:07:19 -07:00
stdio.rs Auto merge of #23507 - jbcrail:fix-comment-spelling, r=alexcrichton 2015-03-19 09:50:13 +00:00
util.rs std: Stabilize portions of the io module 2015-03-04 17:04:22 -08:00