SwiftstructXPCDistributed

struct XPCDistributed.XPCSystem.InvocationDecoder

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 9

  1. fieldvar mode: XPCDistributed.XPCSystem.InvocationDecoder.Mode
  2. funcdecodeErrorType() throws -> Any.Type?
  3. funcdecodeGenericSubstitutions() throws -> [Any.Type]
  4. funcdecodeNextArgument<A where A: Decodable, A: Encodable>() throws -> A
  5. funcdecodeReturnType() throws -> Any.Type?
  6. initinit(from: Decoder) throws -> XPCDistributed.XPCSystem.InvocationDecoder
  7. initinit(direct: XPCDistributed.XPCSystem.DirectInvocationDecoder) -> XPCDistributed.XPCSystem.InvocationDecoder
  8. typealiastypealias SerializationRequirement = Swift.Decodable & Swift.Encodable
  9. varvar errorType: Any.Type? { get }
struct XPCDistributed.XPCSystem.InvocationDecoder {
    enum Mode {
        case encoded(XPCDistributed.XPCSystem.EncodedInvocationDecoder)
        case direct(XPCDistributed.XPCSystem.DirectInvocationDecoder)
    }
    var mode: XPCDistributed.XPCSystem.InvocationDecoder.Mode

    init(from: any Swift.Decoder) throws
    init(direct: XPCDistributed.XPCSystem.DirectInvocationDecoder)

    var errorType: (any Any.Type)? {
        get
    }

    func decodeErrorType() throws -> (any Any.Type)?
    func decodeReturnType() throws -> (any Any.Type)?
    func decodeNextArgument<A>() throws -> A where A: Swift.Decodable, A: Swift.Encodable
    func decodeGenericSubstitutions() throws -> [any Any.Type]
}