concept variant in category rust
appears as: varits

This is an excerpt from Manning's book Rust in Action.
As discussed during Section 7.6, there are four operations that our code needs to support: insert, get, update and delete. We’re using an append-only design, which means that the last two can be implemented as variants of insert. You may have noticed that during
load(), the inner loop continues until the end of the file. This allows more-recent updates to overwrite stale data, including deletions.
Define an enum that includes the upstream errors as variants