diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2018-06-07 03:03:29 +0200 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2018-06-07 03:03:29 +0200 |
commit | f035857d9a9dc14c85e6bdf22cbe72528235657d (patch) | |
tree | b6ec10e06a025a8b226e882c4ee39cc802c67665 /src/config.rs | |
parent | bbe6740d0a0b3f4dd8c1593272a747cfbbb3006b (diff) | |
download | nitrokey-rs-f035857d9a9dc14c85e6bdf22cbe72528235657d.tar.gz nitrokey-rs-f035857d9a9dc14c85e6bdf22cbe72528235657d.tar.bz2 |
Use Result<(), CommandError> instead of CommandStatus
The Result enum is more idiomatic and easier to use than our custom
CommandStatus enum with the same structure. This is especially true for
the try operator ?.
Diffstat (limited to 'src/config.rs')
0 files changed, 0 insertions, 0 deletions