rust-teos icon indicating copy to clipboard operation
rust-teos copied to clipboard

Make DBM load methods return Option<T> instead of Result<T, E>

Open sr-gi opened this issue 2 years ago • 1 comments

Currently the DBM methods related to loading data return Result<T, E> where E is always dbm::Error::NotFound. It may make more sense to get rit of NotFound from the Errors enum and make the load functions return Option<T>.

sr-gi avatar May 01 '22 12:05 sr-gi

@SpoonBuoy just realized this may be relevant to your current work.

sr-gi avatar Jun 27 '22 09:06 sr-gi