From 5b536045bd4276b31edafb55f39ded8534732401 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Tue, 5 Jun 2018 22:21:59 +0200 Subject: Add traits for easier error handling to todo list Implementing Into for (Device, CommandError) might allow a user to use the ? operator on methods like authenticate_user within a method returning a CommandError. --- TODO.md | 1 + 1 file changed, 1 insertion(+) diff --git a/TODO.md b/TODO.md index dea7144..a2b6395 100644 --- a/TODO.md +++ b/TODO.md @@ -37,3 +37,4 @@ - More specific error checking in the tests. - Differentiate empty strings and errors (see `result_from_string`). - Check integer conversions. +- Consider implementing `Into` for `(Device, CommandError)` -- cgit v1.2.3