func ReadRootCapnp2A(msg *capnp.Message) (Capnp2A, error) {
	root, err := msg.RootPtr()
	if err != nil {
		return Capnp2A{}, err
	}
	return Capnp2A{root.Struct()}, nil
}
Exemplo n.º 2
0
func ReadRootHashFactory_newSha1_Results(msg *capnp.Message) (HashFactory_newSha1_Results, error) {
	root, err := msg.Root()
	if err != nil {
		return HashFactory_newSha1_Results{}, err
	}
	st := capnp.ToStruct(root)
	return HashFactory_newSha1_Results{st}, nil
}
Exemplo n.º 3
0
func ReadRootBook(msg *capnp.Message) (Book, error) {
	root, err := msg.Root()
	if err != nil {
		return Book{}, err
	}
	st := capnp.ToStruct(root)
	return Book{st}, nil
}
Exemplo n.º 4
0
func ReadRootReplay_Round(msg *capnp.Message) (Replay_Round, error) {
	root, err := msg.Root()
	if err != nil {
		return Replay_Round{}, err
	}
	st := capnp.ToStruct(root)
	return Replay_Round{st}, nil
}
Exemplo n.º 5
0
func ReadRootAiConnector_connect_Results(msg *capnp.Message) (AiConnector_connect_Results, error) {
	root, err := msg.Root()
	if err != nil {
		return AiConnector_connect_Results{}, err
	}
	st := capnp.ToStruct(root)
	return AiConnector_connect_Results{st}, nil
}
Exemplo n.º 6
0
func ReadRootRobot(msg *capnp.Message) (Robot, error) {
	root, err := msg.Root()
	if err != nil {
		return Robot{}, err
	}
	st := capnp.ToStruct(root)
	return Robot{st}, nil
}
Exemplo n.º 7
0
func ReadRootAi_takeTurn_Params(msg *capnp.Message) (Ai_takeTurn_Params, error) {
	root, err := msg.Root()
	if err != nil {
		return Ai_takeTurn_Params{}, err
	}
	st := capnp.ToStruct(root)
	return Ai_takeTurn_Params{st}, nil
}
Exemplo n.º 8
0
func ReadRootCredentials(msg *capnp.Message) (Credentials, error) {
	root, err := msg.Root()
	if err != nil {
		return Credentials{}, err
	}
	st := capnp.ToStruct(root)
	return Credentials{st}, nil
}
func ReadRootCapnp2A(msg *capnp.Message) (Capnp2A, error) {
	root, err := msg.Root()
	if err != nil {
		return Capnp2A{}, err
	}
	st := capnp.ToStruct(root)
	return Capnp2A{st}, nil
}
Exemplo n.º 10
0
func ReadRootAdder_add_Results(msg *capnp.Message) (Adder_add_Results, error) {
	root, err := msg.Root()
	if err != nil {
		return Adder_add_Results{}, err
	}
	st := capnp.ToStruct(root)
	return Adder_add_Results{st}, nil
}
Exemplo n.º 11
0
func ReadRootTurn(msg *capnp.Message) (Turn, error) {
	root, err := msg.Root()
	if err != nil {
		return Turn{}, err
	}
	st := capnp.ToStruct(root)
	return Turn{st}, nil
}
Exemplo n.º 12
0
func ReadRootConnectRequest(msg *capnp.Message) (ConnectRequest, error) {
	root, err := msg.Root()
	if err != nil {
		return ConnectRequest{}, err
	}
	st := capnp.ToStruct(root)
	return ConnectRequest{st}, nil
}
Exemplo n.º 13
0
func ReadRootHandleFactory_newHandle_Params(msg *capnp.Message) (HandleFactory_newHandle_Params, error) {
	root, err := msg.Root()
	if err != nil {
		return HandleFactory_newHandle_Params{}, err
	}
	st := capnp.ToStruct(root)
	return HandleFactory_newHandle_Params{st}, nil
}
Exemplo n.º 14
0
func ReadRootEchoer_echo_Results(msg *capnp.Message) (Echoer_echo_Results, error) {
	root, err := msg.Root()
	if err != nil {
		return Echoer_echo_Results{}, err
	}
	st := capnp.ToStruct(root)
	return Echoer_echo_Results{st}, nil
}
Exemplo n.º 15
0
func ReadRootHanger_hang_Results(msg *capnp.Message) (Hanger_hang_Results, error) {
	root, err := msg.Root()
	if err != nil {
		return Hanger_hang_Results{}, err
	}
	st := capnp.ToStruct(root)
	return Hanger_hang_Results{st}, nil
}
Exemplo n.º 16
0
func ReadRootCallOrder_getCallSequence_Results(msg *capnp.Message) (CallOrder_getCallSequence_Results, error) {
	root, err := msg.Root()
	if err != nil {
		return CallOrder_getCallSequence_Results{}, err
	}
	st := capnp.ToStruct(root)
	return CallOrder_getCallSequence_Results{st}, nil
}
Exemplo n.º 17
0
func ReadRootJsonValue(msg *capnp.Message) (JsonValue, error) {
	root, err := msg.RootPtr()
	return JsonValue{root.Struct()}, err
}
Exemplo n.º 18
0
func ReadRootPingPong_echoNum_Results(msg *capnp.Message) (PingPong_echoNum_Results, error) {
	root, err := msg.RootPtr()
	return PingPong_echoNum_Results{root.Struct()}, err
}
Exemplo n.º 19
0
func ReadRootEchoer_echo_Results(msg *capnp.Message) (Echoer_echo_Results, error) {
	root, err := msg.RootPtr()
	return Echoer_echo_Results{root.Struct()}, err
}
Exemplo n.º 20
0
func ReadRootCallOrder_getCallSequence_Results(msg *capnp.Message) (CallOrder_getCallSequence_Results, error) {
	root, err := msg.RootPtr()
	return CallOrder_getCallSequence_Results{root.Struct()}, err
}
Exemplo n.º 21
0
func ReadRootRecipientId(msg *capnp.Message) (RecipientId, error) {
	root, err := msg.RootPtr()
	return RecipientId{root.Struct()}, err
}
Exemplo n.º 22
0
func ReadRootAdder_add_Results(msg *capnp.Message) (Adder_add_Results, error) {
	root, err := msg.RootPtr()
	return Adder_add_Results{root.Struct()}, err
}
Exemplo n.º 23
0
func ReadRootHashFactory_newSha1_Params(msg *capnp.Message) (HashFactory_newSha1_Params, error) {
	root, err := msg.RootPtr()
	return HashFactory_newSha1_Params{root.Struct()}, err
}
Exemplo n.º 24
0
func ReadRootHash_sum_Params(msg *capnp.Message) (Hash_sum_Params, error) {
	root, err := msg.RootPtr()
	return Hash_sum_Params{root.Struct()}, err
}
Exemplo n.º 25
0
func ReadRootJoinResult(msg *capnp.Message) (JoinResult, error) {
	root, err := msg.RootPtr()
	return JoinResult{root.Struct()}, err
}
Exemplo n.º 26
0
func ReadRootThirdPartyCapId(msg *capnp.Message) (ThirdPartyCapId, error) {
	root, err := msg.RootPtr()
	return ThirdPartyCapId{root.Struct()}, err
}
Exemplo n.º 27
0
func ReadRootHandleFactory_newHandle_Results(msg *capnp.Message) (HandleFactory_newHandle_Results, error) {
	root, err := msg.RootPtr()
	return HandleFactory_newHandle_Results{root.Struct()}, err
}
Exemplo n.º 28
0
func ReadRootHanger_hang_Results(msg *capnp.Message) (Hanger_hang_Results, error) {
	root, err := msg.RootPtr()
	return Hanger_hang_Results{root.Struct()}, err
}
Exemplo n.º 29
0
func ReadRootVatId(msg *capnp.Message) (VatId, error) {
	root, err := msg.RootPtr()
	return VatId{root.Struct()}, err
}
Exemplo n.º 30
0
func ReadRootProvisionId(msg *capnp.Message) (ProvisionId, error) {
	root, err := msg.RootPtr()
	return ProvisionId{root.Struct()}, err
}