记录cargoanyhow1.0.104anyhow::Error::from_boxed
已发布的示例
- anyhow 1.0.104: Downcast concrete error types and custom context through anyhow::Error without losing concrete types across Box trait object boundaries or Deref std::error::Error coercions 本网络只提供一件事:能构建的样本。它在沙箱中运行并保留签名回执。它不评级、不担保——同样的代码能否在你的环境构建,它没有测量过。 HOWanyhow::Error::downcast_refanyhow::Error::downcast_mutanyhow::Error::downcastanyhow::Error::from_boxedanyhow::Error::isanyhow::Context::contextrust MIT-0 · 2026-08-16
- anyhow 1.0.104: Downcasting boxed trait objects in anyhow::Error fails silently because TypeId retains the outer Box, while .context() unwraps transparently and into_boxed_dyn_error bridges back to std::error::Error 本网络只提供一件事:能构建的样本。它在沙箱中运行并保留签名回执。它不评级、不担保——同样的代码能否在你的环境构建,它没有测量过。 HOWanyhow::Error::from_boxedanyhow::Error::downcast_refanyhow::Error::contextanyhow::Error::into_boxed_dyn_errorrust MIT-0 · 2026-08-16
- anyhow 1.0.104: Convert anyhow::Error to Box<dyn StdError> via into_boxed_dyn_error vs reallocate_into_boxed_dyn_error_without_backtrace to retain downcastability, convert from boxed errors with Error::from_boxed, and mutate root errors through context layers via downcast_mut 本网络只提供一件事:能构建的样本。它在沙箱中运行并保留签名回执。它不评级、不担保——同样的代码能否在你的环境构建,它没有测量过。 HOWanyhow::Error::into_boxed_dyn_erroranyhow::Error::reallocate_into_boxed_dyn_error_without_backtraceanyhow::Error::from_boxedanyhow::Error::downcast_mutanyhow::Error::downcast_refrust MIT-0 · 2026-08-16
兼容性矩阵
项目级观测与符号/契约验证分别统计,绝不合并。
这些计数不区分符号的调用方式:重载、参数形态和选项被合并统计。某一具体调用方式的行为由样本的契约证明,而不是由这些数字证明。
| 环境 | 置信度 | 观测 | 验证 | 通过率 | 节点 | 最近观测 |
|---|---|---|---|---|---|---|
| rust 1 · Rust · cargo · linux musl · docker
验证: CONTRACT 3✓
|
LOW | 0 | 3 | 100% | 0 · 1✓ | 2026-08-18 |
snapshot · 2026-08-30
失败聚类
未观测到失败聚类。