From 2eef7d4834d83993640265bb7d74d54cec05c333 Mon Sep 17 00:00:00 2001 From: Franz Busch Date: Fri, 16 Feb 2024 16:16:04 +0000 Subject: [PATCH] Conform `NIOIPProtocol` to `Sendable` # Motivation We were missing a `Sendable` conformance on `NIOIPProtocol` --- Sources/NIOCore/IPProtocol.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/NIOCore/IPProtocol.swift b/Sources/NIOCore/IPProtocol.swift index 27e11de783..1452fb2b4a 100644 --- a/Sources/NIOCore/IPProtocol.swift +++ b/Sources/NIOCore/IPProtocol.swift @@ -16,7 +16,7 @@ /// called "Protocol" to identify the next level protocol. This is an 8 /// bit field. In Internet Protocol version 6 (IPv6) [RFC8200], this field /// is called the "Next Header" field. -public struct NIOIPProtocol: RawRepresentable, Hashable { +public struct NIOIPProtocol: RawRepresentable, Hashable, Sendable { public typealias RawValue = UInt8 public var rawValue: RawValue