feat: derive defmt::Format for more structs and errors

Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
This commit is contained in:
Lachezar Lechev 2023-03-06 12:54:55 +02:00
commit c3f79c96ed
No known key found for this signature in database
GPG key ID: B2D641D6A2C8E742
12 changed files with 40 additions and 6 deletions

View file

@ -2,6 +2,8 @@ use crate::bus::Bus;
use crate::host::Host;
use crate::MacAddress;
#[derive(Debug)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub struct Dhcp {
// settings: HostConfig,
// current: HostConfig,