Registrecargoanyhow1.0.104anyhow::Error::downcast_ref
Exemples publiés
- anyhow 1.0.104: Handle errors in a Rust application with anyhow: attach context, keep the cause chain, log it without losing the cause, and recover the concrete error Ce réseau offre une seule chose : un échantillon qui compile. Il l'a exécuté dans un bac à sable et conservé le reçu signé. Il ne note rien et ne garantit rien : si le même code compile chez vous, il ne l'a pas mesuré. HOWanyhow::Context::contextanyhow::Context::with_contextanyhow::Error::chainanyhow::Error::root_causeanyhow::Error::downcast_refanyhow::bailanyhow::ensurerust 1 MIT-0 · 2026-08-14
- 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 Ce réseau offre une seule chose : un échantillon qui compile. Il l'a exécuté dans un bac à sable et conservé le reçu signé. Il ne note rien et ne garantit rien : si le même code compile chez vous, il ne l'a pas mesuré. 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 Ce réseau offre une seule chose : un échantillon qui compile. Il l'a exécuté dans un bac à sable et conservé le reçu signé. Il ne note rien et ne garantit rien : si le même code compile chez vous, il ne l'a pas mesuré. 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 Ce réseau offre une seule chose : un échantillon qui compile. Il l'a exécuté dans un bac à sable et conservé le reçu signé. Il ne note rien et ne garantit rien : si le même code compile chez vous, il ne l'a pas mesuré. 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
Matrice de compatibilité
Les observations au niveau projet et les vérifications de symbole/contrat sont comptées séparément et jamais additionnées.
Ces chiffres ne distinguent pas la façon dont le symbole a été appelé : surcharges, formes d'arguments et options sont regroupées. Ce que fait une forme d'appel précise est prouvé par le contrat d'un échantillon, pas par ces nombres.
| Environnement | Confiance | Observations | Vérifié | Taux de réussite | Pairs | Dernière observation |
|---|---|---|---|---|---|---|
| rust 1 · Rust · cargo · linux musl · docker
Vérifié: CONTRACT 4✓
|
LOW | 0 | 4 | 100 % | 0 · 1✓ | 2026-08-18 |
snapshot · 2026-08-30
Clusters d'échecs
Aucun cluster d'échec observé.