Boilerplate for Rust error/result

2020-03-27

I find myself implementing application-specific error and result types in Rust quite often. Here is my standard template for future reference:

Related posts

String conversions in Rust follow-up
String conversions in Rust
Bracket pattern in Rust
Parsing MSBuild project XML in Rust
Traits and polymorphism in Rust
Richard’s Workspace Tool - more Rust programming

Tags

Rust
Programming

Content © 2024 Richard Cook. All rights reserved.