From 011b3df040f5907ed2480ee2fc555063e5d9de86 Mon Sep 17 00:00:00 2001 From: Franz Busch Date: Sat, 17 Feb 2024 19:47:54 +0000 Subject: [PATCH] Conform `NIOIPProtocol` to `Sendable` (#2655) # 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 27e11de78..1452fb2b4 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