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

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 © 2010–2020 Richard Cook. All rights reserved.