Enumerationswift 6.0.3Foundation
Status
enum Status
enum Status
import Foundation
class Stream
case atEnd
case closed
case error
case notOpen
case open
case opening
case reading
case writing
override 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 Event
struct PropertyKey
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A 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 Sendable
init?(rawValue: UInt)
var 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)