SwiftstructNetwork
ProtocolInstanceReference
struct Network.ProtocolInstanceReference
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 20
- field
var _parentProtocolEventStateIndex: Network.NetworkStateIndex?+0x58 - field
var _parentReference: Network.ProtocolInstanceReference._ProtocolInstanceReference?+0x38 - field
let _protocolEventStateIndex: Network.NetworkStateIndex?+0x28 - field
var context: Network.NetworkContext+0x20 - field
let reference: Network.ProtocolInstanceReference._ProtocolInstanceReference+0x0 - func
async(() -> ()) -> () - func
attachLowerDatagramProtocol(_: Network.ProtocolInstanceReference, remote: Network.Endpoint?, local: Network.Endpoint?, parameters: Network.Parameters?, path: Network.PathProperties?) throws(Network.NetworkError) -> () - func
attachLowerDatagramProtocolForNewPath(_: Network.ProtocolInstanceReference, remote: Network.Endpoint?, local: Network.Endpoint?, parameters: Network.Parameters?, path: Network.PathProperties?) throws(Network.NetworkError) -> () - func
attachLowerProtocol(_: Network.ProtocolInstanceReference, remote: Network.Endpoint?, local: Network.Endpoint?, parameters: Network.Parameters?, path: Network.PathProperties?) throws(Network.NetworkError) -> () - func
attachLowerProtocolForNewPath(_: Network.ProtocolInstanceReference, remote: Network.Endpoint?, local: Network.Endpoint?, parameters: Network.Parameters?, path: Network.PathProperties?) throws(Network.NetworkError) -> () - func
attachLowerStreamProtocol(_: Network.ProtocolInstanceReference, remote: Network.Endpoint?, local: Network.Endpoint?, parameters: Network.Parameters?, path: Network.PathProperties?) throws(Network.NetworkError) -> () - func
detach(Network.ProtocolInstanceReference) throws(Network.NetworkError) -> () - func
fromExternal<A, B where B: Error, A: ~Swift.Copyable>(() throws(B) -> A) throws(B) -> A - func
fromExternal<A, B where B: Error>(() throws(B) -> A) throws(B) -> A - func
getMetadata<A where A: Network.NetworkProtocol>(Network.ProtocolInstanceReference) -> Network.ProtocolMetadata<A>? - func
scheduleWakeup(milliseconds: UInt64) -> () - func
toCRetained() -> UnsafeMutableRawPointer - func
unscheduleWakeup() -> () - init
init(custom: Network.ProtocolInstanceContainer, index: Int?) -> Network.ProtocolInstanceReference - init
init() -> Network.ProtocolInstanceReference
Header
struct ProtocolInstanceReference { enum _ProtocolInstanceReference { case udp(Network.NetworkStateIndex) case ip(Network.NetworkStateIndex) case tcp(Network.TCPProtocol.TCPInstance) case tls(Network.SwiftTLSProtocol.SwiftTLSInstance) case streamEndpointFlow(Network.StreamEndpointFlowProtocol) case datagramEndpointFlow(Network.DatagramEndpointFlowProtocol) case tlsEncryptionLevel(Network.SwiftTLSProtocol.SwiftTLSQUICOnlyInstance.EncryptionLevelHandler) case quic(Network.QUICConnection) case quicStream(Network.QUICStreamInstance) case quicDatagram(Network.QUICDatagramFlow) case quicPath(Network.QUICPath) case quicCrypto(Network.QUICCrypto) case streamUpperHarness(Network.StreamUpperHarness) case datagramUpperHarness(Network.DatagramUpperHarness) case datagramLowerHarness(Network.DatagramLowerHarness) case streamLowerHarness(Network.StreamLowerHarness) case newStreamFlowHarness(Network.NewStreamFlowHarness) case newDatagramFlowHarness(Network.NewDatagramFlowHarness) case channel(Network.ChannelProtocol) case custom(container: any Network.ProtocolInstanceContainer, index: Swift.Int?) case none } let reference: Network.ProtocolInstanceReference._ProtocolInstanceReference var context: Network.NetworkContext let _protocolEventStateIndex: Network.NetworkStateIndex? var _parentReference: Network.ProtocolInstanceReference._ProtocolInstanceReference? var _parentProtocolEventStateIndex: Network.NetworkStateIndex? init(custom: any Network.ProtocolInstanceContainer, index: Swift.Int?) init() func attachLowerProtocol(_: Network.ProtocolInstanceReference, remote: Network.Endpoint?, local: Network.Endpoint?, parameters: Network.Parameters?, path: Network.PathProperties?) throws(Network.NetworkError) func attachLowerProtocolForNewPath(_: Network.ProtocolInstanceReference, remote: Network.Endpoint?, local: Network.Endpoint?, parameters: Network.Parameters?, path: Network.PathProperties?) throws(Network.NetworkError) func attachLowerStreamProtocol(_: Network.ProtocolInstanceReference, remote: Network.Endpoint?, local: Network.Endpoint?, parameters: Network.Parameters?, path: Network.PathProperties?) throws(Network.NetworkError) func attachLowerDatagramProtocol(_: Network.ProtocolInstanceReference, remote: Network.Endpoint?, local: Network.Endpoint?, parameters: Network.Parameters?, path: Network.PathProperties?) throws(Network.NetworkError) func attachLowerDatagramProtocolForNewPath(_: Network.ProtocolInstanceReference, remote: Network.Endpoint?, local: Network.Endpoint?, parameters: Network.Parameters?, path: Network.PathProperties?) throws(Network.NetworkError) func getMetadata<A>(_: Network.ProtocolInstanceReference) -> Network.ProtocolMetadata<A>? where A: Network.NetworkProtocol func toCRetained() -> Swift.UnsafeMutableRawPointer func fromExternal<A, B>(_: () throws(B) -> A) throws(B) -> A where B: Swift.Error, A: ~Swift.Copyable func fromExternal<A, B>(_: () throws(B) -> A) throws(B) -> A where B: Swift.Error func scheduleWakeup(milliseconds: Swift.UInt64) func unscheduleWakeup() func async(_: @escaping () -> ()) func detach(_: Network.ProtocolInstanceReference) throws(Network.NetworkError) }