@@ -100,10 +100,12 @@ extension ProgressManager {
100
100
}
101
101
102
102
// Namespace for properties specific to operations reported on
103
+ @frozen
103
104
public enum Properties : Sendable {
104
105
105
106
/// The total number of files.
106
107
public var totalFileCount : TotalFileCount . Type { TotalFileCount . self }
108
+ @frozen
107
109
public enum TotalFileCount : Sendable , Property {
108
110
109
111
public typealias Value = Int
@@ -131,6 +133,7 @@ extension ProgressManager {
131
133
132
134
/// The number of completed files.
133
135
public var completedFileCount : CompletedFileCount . Type { CompletedFileCount . self }
136
+ @frozen
134
137
public enum CompletedFileCount : Sendable , Property {
135
138
136
139
public typealias Value = Int
@@ -158,6 +161,7 @@ extension ProgressManager {
158
161
159
162
/// The total number of bytes.
160
163
public var totalByteCount : TotalByteCount . Type { TotalByteCount . self }
164
+ @frozen
161
165
public enum TotalByteCount : Sendable , Property {
162
166
163
167
public typealias Value = UInt64
@@ -185,6 +189,7 @@ extension ProgressManager {
185
189
186
190
/// The number of completed bytes.
187
191
public var completedByteCount : CompletedByteCount . Type { CompletedByteCount . self }
192
+ @frozen
188
193
public enum CompletedByteCount : Sendable , Property {
189
194
190
195
public typealias Value = UInt64
@@ -212,6 +217,7 @@ extension ProgressManager {
212
217
213
218
/// The throughput, in bytes per second.
214
219
public var throughput : Throughput . Type { Throughput . self }
220
+ @frozen
215
221
public enum Throughput : Sendable , Property {
216
222
public typealias Value = UInt64
217
223
@@ -238,6 +244,7 @@ extension ProgressManager {
238
244
239
245
/// The amount of time remaining in the processing of files.
240
246
public var estimatedTimeRemaining : EstimatedTimeRemaining . Type { EstimatedTimeRemaining . self }
247
+ @frozen
241
248
public enum EstimatedTimeRemaining : Sendable , Property {
242
249
243
250
public typealias Value = Duration
0 commit comments