rust/src/libstd/rt/io
Marvin Löbel fa8e71a825 Allow fail messages to be caught, and introduce the Any trait
Some code cleanup, sorting of import blocks

Removed std::unstable::UnsafeArc's use of Either

Added run-fail tests for the new FailWithCause impls

Changed future_result and try to return Result<(), ~Any>.

- Internally, there is an enum of possible fail messages passend around.
- In case of linked failure or a string message, the ~Any gets
  lazyly allocated in future_results recv method.
- For that, future result now returns a wrapper around a Port.
- Moved and renamed task::TaskResult into rt::task::UnwindResult
  and made it an internal enum.
- Introduced a replacement typedef `type TaskResult = Result<(), ~Any>`.
2013-10-28 08:50:32 +01:00
..
native Test fixes and merge conflicts 2013-10-24 14:21:58 -07:00
net Test fixes and merge conflicts 2013-10-24 14:21:58 -07:00
buffered.rs Cache and buffer stdout per-task for printing 2013-10-25 10:31:57 -07:00
comm_adapters.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
extensions.rs Remove std::io once and for all! 2013-10-24 14:22:34 -07:00
file.rs Move stdin to using libuv's pipes instead of a tty 2013-10-24 14:21:58 -07:00
flate.rs Removed Unnecessary comments and white spaces #4386 2013-10-23 01:10:50 +05:30
mem.rs Remove std::io from ebml 2013-10-24 14:21:58 -07:00
mock.rs Removed Unnecessary comments and white spaces #4386 2013-10-23 01:10:50 +05:30
mod.rs Implement a basic event loop built on LittleLock 2013-10-24 23:49:11 -07:00
option.rs Allow fail messages to be caught, and introduce the Any trait 2013-10-28 08:50:32 +01:00
pipe.rs Fixing some tests, adding some pipes 2013-10-24 14:22:35 -07:00
process.rs Migrate std::run to libuv processes 2013-10-24 14:22:35 -07:00
signal.rs Allow fail messages to be caught, and introduce the Any trait 2013-10-28 08:50:32 +01:00
stdio.rs Cache and buffer stdout per-task for printing 2013-10-25 10:31:57 -07:00
timer.rs Remove IoFactoryObject for ~IoFactory 2013-10-24 14:21:57 -07:00