Open mkeeter opened 3 months ago
Many functions return Result<(), ()>, which is a little weird looking!
Result<(), ()>
Having a LeaseError (or LeaseReadError / LeaseWriteError) would make this less weird, even if it's a simple empty struct.
LeaseError
LeaseReadError
LeaseWriteError
struct
Many functions return
Result<(), ()>
, which is a little weird looking!Having a
LeaseError
(orLeaseReadError
/LeaseWriteError
) would make this less weird, even if it's a simple emptystruct
.