diff options
| author | Ulf Lilleengen <[email protected]> | 2023-12-20 12:24:51 +0100 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2023-12-20 12:24:51 +0100 |
| commit | c3b827d8cd66ed64e22987ca27cf16e371755227 (patch) | |
| tree | fd47986e31f7e0e59fbb7c1bfa871f3797a5fede /embassy-net-esp-hosted/src/control.rs | |
| parent | 4dfae9328e75ea5e7797b32b9c3a42f1babf6e35 (diff) | |
fix: add readme and fix remaining warnings
Diffstat (limited to 'embassy-net-esp-hosted/src/control.rs')
| -rw-r--r-- | embassy-net-esp-hosted/src/control.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/embassy-net-esp-hosted/src/control.rs b/embassy-net-esp-hosted/src/control.rs index b141bd6d2..c8cea8503 100644 --- a/embassy-net-esp-hosted/src/control.rs +++ b/embassy-net-esp-hosted/src/control.rs | |||
| @@ -9,8 +9,11 @@ use crate::proto::{self, CtrlMsg}; | |||
| 9 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] | 9 | #[derive(Copy, Clone, PartialEq, Eq, Debug)] |
| 10 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] | 10 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] |
| 11 | pub enum Error { | 11 | pub enum Error { |
| 12 | /// The operation failed with the given error code. | ||
| 12 | Failed(u32), | 13 | Failed(u32), |
| 14 | /// The operation timed out. | ||
| 13 | Timeout, | 15 | Timeout, |
| 16 | /// Internal error. | ||
| 14 | Internal, | 17 | Internal, |
| 15 | } | 18 | } |
| 16 | 19 | ||
