Anyhow return type

2026-11-07来源 Rust Users ForumEnglish

When using anyhow in my Rust code should I make the return type anyhow::Result everywhere or when a function returns only one type of result (for example io::Result) should I return that instead?

1 post - 1 participant

Read full topic

原文:https://www.a8q9.cn/en/article/anyhow-return-type-c6f389.html

相关文章