diff options
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 | ||
