@@ -701,11 +701,13 @@ If you would like to report additional metadata or properties that are not part
701
701
@available (FoundationPreview 6.3, * )
702
702
extension ProgressManager {
703
703
704
+ @frozen
704
705
public enum Properties {
705
706
706
707
/// The total number of files.
707
708
public var totalFileCount: TotalFileCount.Type { get }
708
709
710
+ @frozen
709
711
public enum TotalFileCount : Sendable , Property {
710
712
711
713
public typealias Value = Int
@@ -727,7 +729,8 @@ extension ProgressManager {
727
729
728
730
/// The number of completed files.
729
731
public var completedFileCount: CompletedFileCount.Type { get }
730
-
732
+
733
+ @frozen
731
734
public enum CompletedFileCount : Sendable , Property {
732
735
733
736
public typealias Value = Int
@@ -750,6 +753,7 @@ extension ProgressManager {
750
753
/// The total number of bytes.
751
754
public var totalByteCount: TotalByteCount.Type { get }
752
755
756
+ @frozen
753
757
public enum TotalByteCount : Sendable , Property {
754
758
755
759
public typealias Value = UInt64
@@ -772,6 +776,7 @@ extension ProgressManager {
772
776
/// The number of completed bytes.
773
777
public var completedByteCount: CompletedByteCount.Type { get }
774
778
779
+ @frozen
775
780
public enum CompletedByteCount : Sendable , Property {
776
781
777
782
public typealias Value = UInt64
@@ -794,6 +799,7 @@ extension ProgressManager {
794
799
/// The throughput, in bytes per second.
795
800
public var throughput: Throughput.Type { get }
796
801
802
+ @frozen
797
803
public enum Throughput : Sendable , Property {
798
804
799
805
public typealias Value = UInt64
@@ -816,6 +822,7 @@ extension ProgressManager {
816
822
/// The amount of time remaining in operation.
817
823
public var estimatedTimeRemaining: EstimatedTimeRemaining.Type { get }
818
824
825
+ @frozen
819
826
public enum EstimatedTimeRemaining : Sendable , Property {
820
827
821
828
public typealias Value = Duration
0 commit comments