fix: add readme and fix remaining warnings

This commit is contained in:
Ulf Lilleengen
2023-12-20 12:24:51 +01:00
parent 4dfae9328e
commit c3b827d8cd
3 changed files with 34 additions and 0 deletions

View File

@ -9,8 +9,11 @@ use crate::proto::{self, CtrlMsg};
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub enum Error {
/// The operation failed with the given error code.
Failed(u32),
/// The operation timed out.
Timeout,
/// Internal error.
Internal,
}