From 0d8b39a9451d3a32f78b79b9ed486c18589610a9 Mon Sep 17 00:00:00 2001 From: Sam Clercky Date: Wed, 24 Apr 2024 10:24:28 +0200 Subject: [PATCH] make csma config non_exhaustive --- dot15d4/src/csma/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/dot15d4/src/csma/mod.rs b/dot15d4/src/csma/mod.rs index 0b7adcc..da9861e 100644 --- a/dot15d4/src/csma/mod.rs +++ b/dot15d4/src/csma/mod.rs @@ -38,6 +38,7 @@ enum TransmissionTaskError { #[cfg_attr(feature = "defmt", derive(defmt::Format))] #[derive(Debug, PartialEq, Clone, Copy)] +#[non_exhaustive] pub struct CsmaConfig { /// All to be transmitted frames will get the ack_request flag set if they /// are unicast and a data frame