SwiftstructNetwork
struct Network.HostEndpoint
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolNetwork.EndpointCommonProtocol
- protocolNetwork.EndpointProtocol
- protocolSwift.CustomStringConvertible
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 10
- field
var common: Network.EndpointCommon+0x0 - field
let name: String+0x10 - field
let port: UInt16+0x20 - field
var priority: UInt16+0x22 - field
var weight: UInt16+0x24 - func
descriptionInternal(redacted: Bool) -> String - func
matchesHostname(String, UInt16) -> Bool - init
init(name: String, port: UInt16) -> Network.HostEndpoint - init
init(copying: Network.HostEndpoint, name: String, port: UInt16) -> Network.HostEndpoint - var
var description: String { get }
Header
struct HostEndpoint { var common: Network.EndpointCommon let name: Swift.String let port: Swift.UInt16 var priority: Swift.UInt16 var weight: Swift.UInt16 init(name: Swift.String, port: Swift.UInt16) init(copying: Network.HostEndpoint, name: Swift.String, port: Swift.UInt16) var description: Swift.String { get } func matchesHostname(_: Swift.String, _: Swift.UInt16) -> Swift.Bool func descriptionInternal(redacted: Swift.Bool) -> Swift.String }