2121
2222/// `ItemOrInnerList` represents the values in a structured header dictionary, or the
2323/// entries in a structured header list.
24- public enum ItemOrInnerList {
24+ public enum ItemOrInnerList : SHSendable {
2525 case item( Item )
2626 case innerList( InnerList )
2727}
@@ -32,7 +32,7 @@ extension ItemOrInnerList: Hashable {}
3232
3333/// `BareItem` is a representation of the base data types at the bottom of a structured
3434/// header field. These types are not parameterised: they are raw data.
35- public enum BareItem {
35+ public enum BareItem : SHSendable {
3636 /// A boolean item.
3737 case bool( Bool )
3838
@@ -87,7 +87,7 @@ extension BareItem: Hashable {}
8787
8888/// `Item` represents a structured header field item: a combination of a `bareItem`
8989/// and some parameters.
90- public struct Item {
90+ public struct Item : SHSendable {
9191 /// The `BareItem` that this `Item` contains.
9292 public var bareItem : BareItem
9393
@@ -106,7 +106,7 @@ extension Item: Hashable {}
106106
107107/// A `BareInnerList` represents the items contained within an `InnerList`, without
108108/// the associated parameters.
109- public struct BareInnerList : Hashable {
109+ public struct BareInnerList : Hashable , SHSendable {
110110 private var items : [ Item ]
111111
112112 public init ( ) {
@@ -179,7 +179,7 @@ extension BareInnerList.Index: Comparable {
179179// MARK: - InnerList
180180
181181/// An `InnerList` is a list of items, with some associated parameters.
182- public struct InnerList : Hashable {
182+ public struct InnerList : Hashable , SHSendable {
183183 /// The items contained within this inner list.
184184 public var bareInnerList : BareInnerList
185185
0 commit comments