@@ -100,10 +100,12 @@ extension ProgressManager {
100100 }
101101
102102 // Namespace for properties specific to operations reported on
103+ @frozen
103104 public enum Properties : Sendable {
104105
105106 /// The total number of files.
106107 public var totalFileCount : TotalFileCount . Type { TotalFileCount . self }
108+ @frozen
107109 public enum TotalFileCount : Sendable , Property {
108110
109111 public typealias Value = Int
@@ -131,6 +133,7 @@ extension ProgressManager {
131133
132134 /// The number of completed files.
133135 public var completedFileCount : CompletedFileCount . Type { CompletedFileCount . self }
136+ @frozen
134137 public enum CompletedFileCount : Sendable , Property {
135138
136139 public typealias Value = Int
@@ -158,6 +161,7 @@ extension ProgressManager {
158161
159162 /// The total number of bytes.
160163 public var totalByteCount : TotalByteCount . Type { TotalByteCount . self }
164+ @frozen
161165 public enum TotalByteCount : Sendable , Property {
162166
163167 public typealias Value = UInt64
@@ -185,6 +189,7 @@ extension ProgressManager {
185189
186190 /// The number of completed bytes.
187191 public var completedByteCount : CompletedByteCount . Type { CompletedByteCount . self }
192+ @frozen
188193 public enum CompletedByteCount : Sendable , Property {
189194
190195 public typealias Value = UInt64
@@ -212,6 +217,7 @@ extension ProgressManager {
212217
213218 /// The throughput, in bytes per second.
214219 public var throughput : Throughput . Type { Throughput . self }
220+ @frozen
215221 public enum Throughput : Sendable , Property {
216222 public typealias Value = UInt64
217223
@@ -238,6 +244,7 @@ extension ProgressManager {
238244
239245 /// The amount of time remaining in the processing of files.
240246 public var estimatedTimeRemaining : EstimatedTimeRemaining . Type { EstimatedTimeRemaining . self }
247+ @frozen
241248 public enum EstimatedTimeRemaining : Sendable , Property {
242249
243250 public typealias Value = Duration
0 commit comments