Structureswift 6.0.1Distributed
RemoteCallTarget
Represents a ‘target’ of a distributed call, such as a distributed func
or distributed
computed property. Identification schemes may vary between systems, and are subject to evolution.
- iOS
- 16.0+
- macOS
- 13.0+
- tvOS
- 16.0+
- watchOS
- 9.0+
struct RemoteCallTarget
Actor systems generally should treat the identifier
as an opaque string, and pass it along to the remote system for in their remoteCall
implementation. Alternative approaches are possible, where the identifiers are either compressed, cached, or represented in other ways, as long as the recipient system is able to determine which target was intended to be invoked.
The string representation will attempt to pretty print the target identifier, however its exact format is not specified and may change in future versions.
Citizens in Distributed
Conformances
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.
Type members
Instance members
var description: String
Attempts to pretty format the underlying target identifier. If unable to, returns the raw underlying identifier.
var identifier: String
The underlying identifier of the target, returned as-is.
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.