Structureswift 6.1.2Foundation
PropertyKey
struct PropertyKeystruct PropertyKeyimport Foundationclass Streamoverride init() weak var delegate: (any StreamDelegate)?var streamError: (any Error)? { get }var streamStatus: Stream.Status { get }func close() func open() func property(forKey key: Stream.PropertyKey) -> AnyObject? func remove(from aRunLoop: RunLoop, forMode mode: RunLoop.Mode) func schedule(in aRunLoop: RunLoop, forMode mode: RunLoop.Mode) func setProperty(_ property: AnyObject?, forKey key: Stream.PropertyKey) -> Bool struct Eventenum Statusprotocol EquatableA type that can be compared for value equality.
protocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
protocol RawRepresentable<RawValue>A type that can be converted to and from an associated raw value.
protocol SendableA thread-safe type whose values can be shared across arbitrary concurrent contexts without introducing a risk of data races. Values of the type may have no shared mutable state, or they may protect that state with a lock or by forcing it to only be accessed from a specific actor.
init(_ rawValue: String) init(rawValue: String) static let dataWrittenToMemoryStreamKey: Stream.PropertyKeystatic let fileCurrentOffsetKey: Stream.PropertyKeystatic let networkServiceType: Stream.PropertyKeystatic let socketSecurityLevelKey: Stream.PropertyKeystatic let socksProxyConfigurationKey: Stream.PropertyKeylet rawValue: Stringvar hashValue: Int { get }static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)