diff --git a/zenoh-plugin-dds/src/config.rs b/zenoh-plugin-dds/src/config.rs index f68d0463..5672172d 100644 --- a/zenoh-plugin-dds/src/config.rs +++ b/zenoh-plugin-dds/src/config.rs @@ -199,6 +199,14 @@ impl<'de> Visitor<'de> for RegexVisitor { formatter.write_str(r#"either a string or a list of strings"#) } + // for `null` value + fn visit_unit(self) -> Result + where + E: de::Error, + { + Ok(None) + } + fn visit_str(self, value: &str) -> Result where E: de::Error,