Instance Methodswift 6.1.2Distributed
recordReturnType(_:)
- iOS
- 16.0+
- macOS
- 13.0+
- tvOS
- 16.0+
- watchOS
- 9.0+
mutating func recordReturnType<R>(_ type: R.Type) throws where R : Decodable, R : Encodable mutating func recordReturnType<R>(_ type: R.Type) throws where R : Decodable, R : Encodable s11Distributed29LocalTestingInvocationEncoderV16recordReturnTypeyyxmKSeRzSERzlF What are these?1YA3Eimport Distributedstruct LocalTestingInvocationEncoderprotocol DecodableA type that can decode itself from an external representation.
protocol EncodableA type that can encode itself to an external representation.
mutating func doneRecording() throws mutating func recordArgument<Value>(_ argument: RemoteCallArgument<Value>) throws where Value : Decodable, Value : Encodable mutating func recordErrorType<E>(_ type: E.Type) throws where E : Error mutating func recordGenericSubstitution<T>(_ type: T.Type) throws typealias SerializationRequirement = Codable