about summary refs log tree commit diff
path: root/src/libstd/any.rs
AgeCommit message (Collapse)AuthorLines
2013-11-30Wrap the return value of the type_id intrinsic in an opaque boxCorey Richardson-23/+8
Closes #10594
2013-11-11Fix path parsingSeo Sanghyeon-1/+1
2013-11-08Implement IterBytes for TypeIdTomas Sedovic-0/+15
2013-11-06Register new snapshotsAlex Crichton-15/+0
2013-11-01Remove unnecessary unwind messagesAlex Crichton-3/+4
Now that the type_id intrinsic is working across crates, all of these unnecessary messages can be removed to have the failure type for a task truly be ~Any and only ~Any
2013-11-01Add a type_id intrinsicAlex Crichton-17/+42
Closes #9913
2013-10-28Allow fail messages to be caught, and introduce the Any traitMarvin Löbel-0/+418
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>`.