func ReadRootCapnp2A(msg *capnp.Message) (Capnp2A, error) { root, err := msg.RootPtr() if err != nil { return Capnp2A{}, err } return Capnp2A{root.Struct()}, nil }
func ReadRootJoinResult(msg *capnp.Message) (JoinResult, error) { root, err := msg.RootPtr() return JoinResult{root.Struct()}, err }
func ReadRootThirdPartyCapId(msg *capnp.Message) (ThirdPartyCapId, error) { root, err := msg.RootPtr() return ThirdPartyCapId{root.Struct()}, err }
func ReadRootConnectRequest(msg *capnp.Message) (ConnectRequest, error) { root, err := msg.RootPtr() return ConnectRequest{root.Struct()}, err }
func ReadRootPingPong_echoNum_Results(msg *capnp.Message) (PingPong_echoNum_Results, error) { root, err := msg.RootPtr() return PingPong_echoNum_Results{root.Struct()}, err }
func ReadRootCallOrder_getCallSequence_Results(msg *capnp.Message) (CallOrder_getCallSequence_Results, error) { root, err := msg.RootPtr() return CallOrder_getCallSequence_Results{root.Struct()}, err }
func ReadRootHandleFactory_newHandle_Results(msg *capnp.Message) (HandleFactory_newHandle_Results, error) { root, err := msg.RootPtr() return HandleFactory_newHandle_Results{root.Struct()}, err }
func ReadRootHashFactory_newSha1_Params(msg *capnp.Message) (HashFactory_newSha1_Params, error) { root, err := msg.RootPtr() return HashFactory_newSha1_Params{root.Struct()}, err }
func ReadRootReplay_Round(msg *capnp.Message) (Replay_Round, error) { root, err := msg.RootPtr() return Replay_Round{root.Struct()}, err }
func ReadRootRobot(msg *capnp.Message) (Robot, error) { root, err := msg.RootPtr() return Robot{root.Struct()}, err }
func ReadRootAiConnector_connect_Results(msg *capnp.Message) (AiConnector_connect_Results, error) { root, err := msg.RootPtr() return AiConnector_connect_Results{root.Struct()}, err }
func ReadRootInitialBoard(msg *capnp.Message) (InitialBoard, error) { root, err := msg.RootPtr() return InitialBoard{root.Struct()}, err }
func ReadRootAi_takeTurn_Results(msg *capnp.Message) (Ai_takeTurn_Results, error) { root, err := msg.RootPtr() return Ai_takeTurn_Results{root.Struct()}, err }
func ReadRootCredentials(msg *capnp.Message) (Credentials, error) { root, err := msg.RootPtr() return Credentials{root.Struct()}, err }
func ReadRootVatId(msg *capnp.Message) (VatId, error) { root, err := msg.RootPtr() return VatId{root.Struct()}, err }
func ReadRootRealmGateway_export_Params(msg *capnp.Message) (RealmGateway_export_Params, error) { root, err := msg.RootPtr() return RealmGateway_export_Params{root.Struct()}, err }
func ReadRootHash_sum_Params(msg *capnp.Message) (Hash_sum_Params, error) { root, err := msg.RootPtr() return Hash_sum_Params{root.Struct()}, err }
func ReadRootPersistent_SaveParams(msg *capnp.Message) (Persistent_SaveParams, error) { root, err := msg.RootPtr() return Persistent_SaveParams{root.Struct()}, err }
func ReadRootAdder_add_Results(msg *capnp.Message) (Adder_add_Results, error) { root, err := msg.RootPtr() return Adder_add_Results{root.Struct()}, err }
func ReadRootBook(msg *capnp.Message) (Book, error) { root, err := msg.RootPtr() return Book{root.Struct()}, err }
func ReadRootHanger_hang_Results(msg *capnp.Message) (Hanger_hang_Results, error) { root, err := msg.RootPtr() return Hanger_hang_Results{root.Struct()}, err }
func ReadRootProvisionId(msg *capnp.Message) (ProvisionId, error) { root, err := msg.RootPtr() return ProvisionId{root.Struct()}, err }
func ReadRootEchoer_echo_Results(msg *capnp.Message) (Echoer_echo_Results, error) { root, err := msg.RootPtr() return Echoer_echo_Results{root.Struct()}, err }
func ReadRootRecipientId(msg *capnp.Message) (RecipientId, error) { root, err := msg.RootPtr() return RecipientId{root.Struct()}, err }
func ReadRootJsonValue(msg *capnp.Message) (JsonValue, error) { root, err := msg.RootPtr() return JsonValue{root.Struct()}, err }
func ReadRootTurn(msg *capnp.Message) (Turn, error) { root, err := msg.RootPtr() return Turn{root.Struct()}, err }