From b40ebdfd8eaf191ee3770bb2519c924f3cccf52f Mon Sep 17 00:00:00 2001 From: Frando Date: Mon, 15 Jun 2026 10:10:19 +0200 Subject: [PATCH] dont make the addr types non_exhaustive --- iroh/src/socket/transports.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/iroh/src/socket/transports.rs b/iroh/src/socket/transports.rs index d212d6632b..77097437d3 100644 --- a/iroh/src/socket/transports.rs +++ b/iroh/src/socket/transports.rs @@ -584,7 +584,6 @@ impl From<&noq_udp::Transmit<'_>> for OwnedTransmit { /// Transports address. #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[non_exhaustive] pub enum Addr { /// An IP address, should always be stored in its canonical form. Ip(SocketAddr), @@ -779,7 +778,6 @@ impl LocalTransportAddr { /// The kind of a transport address, used for configuring bias. #[derive(Debug, Clone, PartialEq, Eq, Hash)] #[cfg_attr(not(feature = "unstable-custom-transports"), allow(unreachable_pub))] -#[non_exhaustive] pub enum AddrKind { /// An IPv4 address. IpV4,