rpc

package
v1.10.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Accept_TypeID = 0xd4c9b56290554016

Accept_TypeID is the unique identifier for the type Accept.

View Source
const Bootstrap_TypeID = 0xe94ccf8031176ec4

Bootstrap_TypeID is the unique identifier for the type Bootstrap.

View Source
const Call_TypeID = 0x836a53ce789d4cd4

Call_TypeID is the unique identifier for the type Call.

View Source
const CapDescriptor_TypeID = 0x8523ddc40b86b8b0

CapDescriptor_TypeID is the unique identifier for the type CapDescriptor.

View Source
const Disembargo_TypeID = 0xf964368b0fbd3711

Disembargo_TypeID is the unique identifier for the type Disembargo.

View Source
const Exception_TypeID = 0xd625b7063acf691a

Exception_TypeID is the unique identifier for the type Exception.

View Source
const Exception_Type_TypeID = 0xb28c96e23f4cbd58

Exception_Type_TypeID is the unique identifier for the type Exception_Type.

View Source
const Finish_TypeID = 0xd37d2eb2c2f80e63

Finish_TypeID is the unique identifier for the type Finish.

View Source
const Join_TypeID = 0xfbe1980490e001af

Join_TypeID is the unique identifier for the type Join.

View Source
const MessageTarget_TypeID = 0x95bc14545813fbc1

MessageTarget_TypeID is the unique identifier for the type MessageTarget.

View Source
const Message_TypeID = 0x91b79f1f808db032

Message_TypeID is the unique identifier for the type Message.

View Source
const Payload_TypeID = 0x9a0e61223d96743b

Payload_TypeID is the unique identifier for the type Payload.

View Source
const PromisedAnswer_Op_TypeID = 0xf316944415569081

PromisedAnswer_Op_TypeID is the unique identifier for the type PromisedAnswer_Op.

View Source
const PromisedAnswer_TypeID = 0xd800b1d6cd6f1ca0

PromisedAnswer_TypeID is the unique identifier for the type PromisedAnswer.

View Source
const Provide_TypeID = 0x9c6a046bfbc1ac5a

Provide_TypeID is the unique identifier for the type Provide.

View Source
const Release_TypeID = 0xad1a6c0d7dd07497

Release_TypeID is the unique identifier for the type Release.

View Source
const Resolve_TypeID = 0xbbc29655fa89086e

Resolve_TypeID is the unique identifier for the type Resolve.

View Source
const Return_TypeID = 0x9e19b28d3db3573a

Return_TypeID is the unique identifier for the type Return.

View Source
const ThirdPartyCapDescriptor_TypeID = 0xd37007fde1f0027d

ThirdPartyCapDescriptor_TypeID is the unique identifier for the type ThirdPartyCapDescriptor.

Variables

This section is empty.

Functions

func RegisterSchema

func RegisterSchema(reg *schemas.Registry)

Types

type Accept

type Accept capnp.Struct

func NewAccept

func NewAccept(s *capnp.Segment) (Accept, error)

func NewRootAccept

func NewRootAccept(s *capnp.Segment) (Accept, error)

func ReadRootAccept

func ReadRootAccept(msg *capnp.Message) (Accept, error)

func (Accept) DecodeFromPtr

func (Accept) DecodeFromPtr(p capnp.Ptr) Accept

func (Accept) Embargo

func (s Accept) Embargo() bool

func (Accept) EncodeAsPtr

func (s Accept) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Accept) HasProvision

func (s Accept) HasProvision() bool

func (Accept) IsValid

func (s Accept) IsValid() bool

func (Accept) Message

func (s Accept) Message() *capnp.Message

func (Accept) Provision

func (s Accept) Provision() (capnp.Ptr, error)

func (Accept) QuestionId

func (s Accept) QuestionId() uint32

func (Accept) Segment

func (s Accept) Segment() *capnp.Segment

func (Accept) SetEmbargo

func (s Accept) SetEmbargo(v bool)

func (Accept) SetProvision

func (s Accept) SetProvision(v capnp.Ptr) error

func (Accept) SetQuestionId

func (s Accept) SetQuestionId(v uint32)

func (Accept) String

func (s Accept) String() string

func (Accept) ToPtr

func (s Accept) ToPtr() capnp.Ptr

type Accept_Future

type Accept_Future struct{ *capnp.Future }

Accept_Future is a wrapper for a Accept promised by a client call.

func (Accept_Future) Provision

func (p Accept_Future) Provision() *capnp.Future

func (Accept_Future) Struct

func (f Accept_Future) Struct() (Accept, error)

type Accept_List

type Accept_List = capnp.StructList[Accept]

Accept_List is a list of Accept.

func NewAccept_List

func NewAccept_List(s *capnp.Segment, sz int32) (Accept_List, error)

NewAccept creates a new list of Accept.

type Bootstrap

type Bootstrap capnp.Struct

func NewBootstrap

func NewBootstrap(s *capnp.Segment) (Bootstrap, error)

func NewRootBootstrap

func NewRootBootstrap(s *capnp.Segment) (Bootstrap, error)

func ReadRootBootstrap

func ReadRootBootstrap(msg *capnp.Message) (Bootstrap, error)

func (Bootstrap) DecodeFromPtr

func (Bootstrap) DecodeFromPtr(p capnp.Ptr) Bootstrap

func (Bootstrap) DeprecatedObjectId

func (s Bootstrap) DeprecatedObjectId() (capnp.Ptr, error)

func (Bootstrap) EncodeAsPtr

func (s Bootstrap) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Bootstrap) HasDeprecatedObjectId

func (s Bootstrap) HasDeprecatedObjectId() bool

func (Bootstrap) IsValid

func (s Bootstrap) IsValid() bool

func (Bootstrap) Message

func (s Bootstrap) Message() *capnp.Message

func (Bootstrap) QuestionId

func (s Bootstrap) QuestionId() uint32

func (Bootstrap) Segment

func (s Bootstrap) Segment() *capnp.Segment

func (Bootstrap) SetDeprecatedObjectId

func (s Bootstrap) SetDeprecatedObjectId(v capnp.Ptr) error

func (Bootstrap) SetQuestionId

func (s Bootstrap) SetQuestionId(v uint32)

func (Bootstrap) String

func (s Bootstrap) String() string

func (Bootstrap) ToPtr

func (s Bootstrap) ToPtr() capnp.Ptr

type Bootstrap_Future

type Bootstrap_Future struct{ *capnp.Future }

Bootstrap_Future is a wrapper for a Bootstrap promised by a client call.

func (Bootstrap_Future) DeprecatedObjectId

func (p Bootstrap_Future) DeprecatedObjectId() *capnp.Future

func (Bootstrap_Future) Struct

func (f Bootstrap_Future) Struct() (Bootstrap, error)

type Bootstrap_List

type Bootstrap_List = capnp.StructList[Bootstrap]

Bootstrap_List is a list of Bootstrap.

func NewBootstrap_List

func NewBootstrap_List(s *capnp.Segment, sz int32) (Bootstrap_List, error)

NewBootstrap creates a new list of Bootstrap.

type Call

type Call capnp.Struct

func NewCall

func NewCall(s *capnp.Segment) (Call, error)

func NewRootCall

func NewRootCall(s *capnp.Segment) (Call, error)

func ReadRootCall

func ReadRootCall(msg *capnp.Message) (Call, error)

func (Call) AllowThirdPartyTailCall

func (s Call) AllowThirdPartyTailCall() bool

func (Call) DecodeFromPtr

func (Call) DecodeFromPtr(p capnp.Ptr) Call

func (Call) EncodeAsPtr

func (s Call) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Call) HasParams

func (s Call) HasParams() bool

func (Call) HasTarget

func (s Call) HasTarget() bool

func (Call) InterfaceId

func (s Call) InterfaceId() uint64

func (Call) IsValid

func (s Call) IsValid() bool

func (Call) Message

func (s Call) Message() *capnp.Message

func (Call) MethodId

func (s Call) MethodId() uint16

func (Call) NewParams

func (s Call) NewParams() (Payload, error)

NewParams sets the params field to a newly allocated Payload struct, preferring placement in s's segment.

func (Call) NewTarget

func (s Call) NewTarget() (MessageTarget, error)

NewTarget sets the target field to a newly allocated MessageTarget struct, preferring placement in s's segment.

func (Call) Params

func (s Call) Params() (Payload, error)

func (Call) QuestionId

func (s Call) QuestionId() uint32

func (Call) Segment

func (s Call) Segment() *capnp.Segment

func (Call) SendResultsTo

func (s Call) SendResultsTo() Call_sendResultsTo

func (Call) SetAllowThirdPartyTailCall

func (s Call) SetAllowThirdPartyTailCall(v bool)

func (Call) SetInterfaceId

func (s Call) SetInterfaceId(v uint64)

func (Call) SetMethodId

func (s Call) SetMethodId(v uint16)

func (Call) SetParams

func (s Call) SetParams(v Payload) error

func (Call) SetQuestionId

func (s Call) SetQuestionId(v uint32)

func (Call) SetTarget

func (s Call) SetTarget(v MessageTarget) error

func (Call) String

func (s Call) String() string

func (Call) Target

func (s Call) Target() (MessageTarget, error)

func (Call) ToPtr

func (s Call) ToPtr() capnp.Ptr

type Call_Future

type Call_Future struct{ *capnp.Future }

Call_Future is a wrapper for a Call promised by a client call.

func (Call_Future) Params

func (p Call_Future) Params() Payload_Future

func (Call_Future) SendResultsTo

func (p Call_Future) SendResultsTo() Call_sendResultsTo_Future

func (Call_Future) Struct

func (f Call_Future) Struct() (Call, error)

func (Call_Future) Target

func (p Call_Future) Target() MessageTarget_Future

type Call_List

type Call_List = capnp.StructList[Call]

Call_List is a list of Call.

func NewCall_List

func NewCall_List(s *capnp.Segment, sz int32) (Call_List, error)

NewCall creates a new list of Call.

type Call_sendResultsTo

type Call_sendResultsTo Call

func (Call_sendResultsTo) HasThirdParty

func (s Call_sendResultsTo) HasThirdParty() bool

func (Call_sendResultsTo) IsValid

func (s Call_sendResultsTo) IsValid() bool

func (Call_sendResultsTo) Message

func (s Call_sendResultsTo) Message() *capnp.Message

func (Call_sendResultsTo) Segment

func (s Call_sendResultsTo) Segment() *capnp.Segment

func (Call_sendResultsTo) SetCaller

func (s Call_sendResultsTo) SetCaller()

func (Call_sendResultsTo) SetThirdParty

func (s Call_sendResultsTo) SetThirdParty(v capnp.Ptr) error

func (Call_sendResultsTo) SetYourself

func (s Call_sendResultsTo) SetYourself()

func (Call_sendResultsTo) ThirdParty

func (s Call_sendResultsTo) ThirdParty() (capnp.Ptr, error)

func (Call_sendResultsTo) Which

type Call_sendResultsTo_Future

type Call_sendResultsTo_Future struct{ *capnp.Future }

Call_sendResultsTo_Future is a wrapper for a Call_sendResultsTo promised by a client call.

func (Call_sendResultsTo_Future) Struct

func (Call_sendResultsTo_Future) ThirdParty

func (p Call_sendResultsTo_Future) ThirdParty() *capnp.Future

type Call_sendResultsTo_Which

type Call_sendResultsTo_Which uint16
const (
	Call_sendResultsTo_Which_caller     Call_sendResultsTo_Which = 0
	Call_sendResultsTo_Which_yourself   Call_sendResultsTo_Which = 1
	Call_sendResultsTo_Which_thirdParty Call_sendResultsTo_Which = 2
)

func (Call_sendResultsTo_Which) String

func (w Call_sendResultsTo_Which) String() string

type CapDescriptor

type CapDescriptor capnp.Struct

func NewCapDescriptor

func NewCapDescriptor(s *capnp.Segment) (CapDescriptor, error)

func NewRootCapDescriptor

func NewRootCapDescriptor(s *capnp.Segment) (CapDescriptor, error)

func ReadRootCapDescriptor

func ReadRootCapDescriptor(msg *capnp.Message) (CapDescriptor, error)

func (CapDescriptor) AttachedFd

func (s CapDescriptor) AttachedFd() uint8

func (CapDescriptor) DecodeFromPtr

func (CapDescriptor) DecodeFromPtr(p capnp.Ptr) CapDescriptor

func (CapDescriptor) EncodeAsPtr

func (s CapDescriptor) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (CapDescriptor) HasReceiverAnswer

func (s CapDescriptor) HasReceiverAnswer() bool

func (CapDescriptor) HasThirdPartyHosted

func (s CapDescriptor) HasThirdPartyHosted() bool

func (CapDescriptor) IsValid

func (s CapDescriptor) IsValid() bool

func (CapDescriptor) Message

func (s CapDescriptor) Message() *capnp.Message

func (CapDescriptor) NewReceiverAnswer

func (s CapDescriptor) NewReceiverAnswer() (PromisedAnswer, error)

NewReceiverAnswer sets the receiverAnswer field to a newly allocated PromisedAnswer struct, preferring placement in s's segment.

func (CapDescriptor) NewThirdPartyHosted

func (s CapDescriptor) NewThirdPartyHosted() (ThirdPartyCapDescriptor, error)

NewThirdPartyHosted sets the thirdPartyHosted field to a newly allocated ThirdPartyCapDescriptor struct, preferring placement in s's segment.

func (CapDescriptor) ReceiverAnswer

func (s CapDescriptor) ReceiverAnswer() (PromisedAnswer, error)

func (CapDescriptor) ReceiverHosted

func (s CapDescriptor) ReceiverHosted() uint32

func (CapDescriptor) Segment

func (s CapDescriptor) Segment() *capnp.Segment

func (CapDescriptor) SenderHosted

func (s CapDescriptor) SenderHosted() uint32

func (CapDescriptor) SenderPromise

func (s CapDescriptor) SenderPromise() uint32

func (CapDescriptor) SetAttachedFd

func (s CapDescriptor) SetAttachedFd(v uint8)

func (CapDescriptor) SetNone

func (s CapDescriptor) SetNone()

func (CapDescriptor) SetReceiverAnswer

func (s CapDescriptor) SetReceiverAnswer(v PromisedAnswer) error

func (CapDescriptor) SetReceiverHosted

func (s CapDescriptor) SetReceiverHosted(v uint32)

func (CapDescriptor) SetSenderHosted

func (s CapDescriptor) SetSenderHosted(v uint32)

func (CapDescriptor) SetSenderPromise

func (s CapDescriptor) SetSenderPromise(v uint32)

func (CapDescriptor) SetThirdPartyHosted

func (s CapDescriptor) SetThirdPartyHosted(v ThirdPartyCapDescriptor) error

func (CapDescriptor) String

func (s CapDescriptor) String() string

func (CapDescriptor) ThirdPartyHosted

func (s CapDescriptor) ThirdPartyHosted() (ThirdPartyCapDescriptor, error)

func (CapDescriptor) ToPtr

func (s CapDescriptor) ToPtr() capnp.Ptr

func (CapDescriptor) Which

type CapDescriptor_Future

type CapDescriptor_Future struct{ *capnp.Future }

CapDescriptor_Future is a wrapper for a CapDescriptor promised by a client call.

func (CapDescriptor_Future) ReceiverAnswer

func (p CapDescriptor_Future) ReceiverAnswer() PromisedAnswer_Future

func (CapDescriptor_Future) Struct

func (CapDescriptor_Future) ThirdPartyHosted

type CapDescriptor_List

type CapDescriptor_List = capnp.StructList[CapDescriptor]

CapDescriptor_List is a list of CapDescriptor.

func NewCapDescriptor_List

func NewCapDescriptor_List(s *capnp.Segment, sz int32) (CapDescriptor_List, error)

NewCapDescriptor creates a new list of CapDescriptor.

type CapDescriptor_Which

type CapDescriptor_Which uint16
const (
	CapDescriptor_Which_none             CapDescriptor_Which = 0
	CapDescriptor_Which_senderHosted     CapDescriptor_Which = 1
	CapDescriptor_Which_senderPromise    CapDescriptor_Which = 2
	CapDescriptor_Which_receiverHosted   CapDescriptor_Which = 3
	CapDescriptor_Which_receiverAnswer   CapDescriptor_Which = 4
	CapDescriptor_Which_thirdPartyHosted CapDescriptor_Which = 5
)

func (CapDescriptor_Which) String

func (w CapDescriptor_Which) String() string

type Disembargo

type Disembargo capnp.Struct

func NewDisembargo

func NewDisembargo(s *capnp.Segment) (Disembargo, error)

func NewRootDisembargo

func NewRootDisembargo(s *capnp.Segment) (Disembargo, error)

func ReadRootDisembargo

func ReadRootDisembargo(msg *capnp.Message) (Disembargo, error)

func (Disembargo) Context

func (s Disembargo) Context() Disembargo_context

func (Disembargo) DecodeFromPtr

func (Disembargo) DecodeFromPtr(p capnp.Ptr) Disembargo

func (Disembargo) EncodeAsPtr

func (s Disembargo) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Disembargo) HasTarget

func (s Disembargo) HasTarget() bool

func (Disembargo) IsValid

func (s Disembargo) IsValid() bool

func (Disembargo) Message

func (s Disembargo) Message() *capnp.Message

func (Disembargo) NewTarget

func (s Disembargo) NewTarget() (MessageTarget, error)

NewTarget sets the target field to a newly allocated MessageTarget struct, preferring placement in s's segment.

func (Disembargo) Segment

func (s Disembargo) Segment() *capnp.Segment

func (Disembargo) SetTarget

func (s Disembargo) SetTarget(v MessageTarget) error

func (Disembargo) String

func (s Disembargo) String() string

func (Disembargo) Target

func (s Disembargo) Target() (MessageTarget, error)

func (Disembargo) ToPtr

func (s Disembargo) ToPtr() capnp.Ptr

type Disembargo_Future

type Disembargo_Future struct{ *capnp.Future }

Disembargo_Future is a wrapper for a Disembargo promised by a client call.

func (Disembargo_Future) Context

func (Disembargo_Future) Struct

func (f Disembargo_Future) Struct() (Disembargo, error)

func (Disembargo_Future) Target

type Disembargo_List

type Disembargo_List = capnp.StructList[Disembargo]

Disembargo_List is a list of Disembargo.

func NewDisembargo_List

func NewDisembargo_List(s *capnp.Segment, sz int32) (Disembargo_List, error)

NewDisembargo creates a new list of Disembargo.

type Disembargo_context

type Disembargo_context Disembargo

func (Disembargo_context) IsValid

func (s Disembargo_context) IsValid() bool

func (Disembargo_context) Message

func (s Disembargo_context) Message() *capnp.Message

func (Disembargo_context) Provide

func (s Disembargo_context) Provide() uint32

func (Disembargo_context) ReceiverLoopback

func (s Disembargo_context) ReceiverLoopback() uint32

func (Disembargo_context) Segment

func (s Disembargo_context) Segment() *capnp.Segment

func (Disembargo_context) SenderLoopback

func (s Disembargo_context) SenderLoopback() uint32

func (Disembargo_context) SetAccept

func (s Disembargo_context) SetAccept()

func (Disembargo_context) SetProvide

func (s Disembargo_context) SetProvide(v uint32)

func (Disembargo_context) SetReceiverLoopback

func (s Disembargo_context) SetReceiverLoopback(v uint32)

func (Disembargo_context) SetSenderLoopback

func (s Disembargo_context) SetSenderLoopback(v uint32)

func (Disembargo_context) Which

type Disembargo_context_Future

type Disembargo_context_Future struct{ *capnp.Future }

Disembargo_context_Future is a wrapper for a Disembargo_context promised by a client call.

func (Disembargo_context_Future) Struct

type Disembargo_context_Which

type Disembargo_context_Which uint16
const (
	Disembargo_context_Which_senderLoopback   Disembargo_context_Which = 0
	Disembargo_context_Which_receiverLoopback Disembargo_context_Which = 1
	Disembargo_context_Which_accept           Disembargo_context_Which = 2
	Disembargo_context_Which_provide          Disembargo_context_Which = 3
)

func (Disembargo_context_Which) String

func (w Disembargo_context_Which) String() string

type Exception

type Exception capnp.Struct

func NewException

func NewException(s *capnp.Segment) (Exception, error)

func NewRootException

func NewRootException(s *capnp.Segment) (Exception, error)

func ReadRootException

func ReadRootException(msg *capnp.Message) (Exception, error)

func (Exception) DecodeFromPtr

func (Exception) DecodeFromPtr(p capnp.Ptr) Exception

func (Exception) EncodeAsPtr

func (s Exception) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Exception) HasReason

func (s Exception) HasReason() bool

func (Exception) HasTrace

func (s Exception) HasTrace() bool

func (Exception) IsValid

func (s Exception) IsValid() bool

func (Exception) MarshalError

func (e Exception) MarshalError(err error) error

MarshalError fills in the fields of e according to err. Returns a non-nil error if marshalling fails.

func (Exception) Message

func (s Exception) Message() *capnp.Message

func (Exception) ObsoleteDurability

func (s Exception) ObsoleteDurability() uint16

func (Exception) ObsoleteIsCallersFault

func (s Exception) ObsoleteIsCallersFault() bool

func (Exception) Reason

func (s Exception) Reason() (string, error)

func (Exception) ReasonBytes

func (s Exception) ReasonBytes() ([]byte, error)

func (Exception) Segment

func (s Exception) Segment() *capnp.Segment

func (Exception) SetObsoleteDurability

func (s Exception) SetObsoleteDurability(v uint16)

func (Exception) SetObsoleteIsCallersFault

func (s Exception) SetObsoleteIsCallersFault(v bool)

func (Exception) SetReason

func (s Exception) SetReason(v string) error

func (Exception) SetTrace

func (s Exception) SetTrace(v string) error

func (Exception) SetType

func (s Exception) SetType(v Exception_Type)

func (Exception) String

func (s Exception) String() string

func (Exception) ToPtr

func (s Exception) ToPtr() capnp.Ptr

func (Exception) Trace

func (s Exception) Trace() (string, error)

func (Exception) TraceBytes

func (s Exception) TraceBytes() ([]byte, error)

func (Exception) Type

func (s Exception) Type() Exception_Type

type Exception_Future

type Exception_Future struct{ *capnp.Future }

Exception_Future is a wrapper for a Exception promised by a client call.

func (Exception_Future) Struct

func (f Exception_Future) Struct() (Exception, error)

type Exception_List

type Exception_List = capnp.StructList[Exception]

Exception_List is a list of Exception.

func NewException_List

func NewException_List(s *capnp.Segment, sz int32) (Exception_List, error)

NewException creates a new list of Exception.

type Exception_Type

type Exception_Type uint16
const (
	Exception_Type_failed        Exception_Type = 0
	Exception_Type_overloaded    Exception_Type = 1
	Exception_Type_disconnected  Exception_Type = 2
	Exception_Type_unimplemented Exception_Type = 3
)

Values of Exception_Type.

func Exception_TypeFromString

func Exception_TypeFromString(c string) Exception_Type

Exception_TypeFromString returns the enum value with a name, or the zero value if there's no such value.

func (Exception_Type) String

func (c Exception_Type) String() string

String returns the enum's constant name.

type Exception_Type_List

type Exception_Type_List = capnp.EnumList[Exception_Type]

func NewException_Type_List

func NewException_Type_List(s *capnp.Segment, sz int32) (Exception_Type_List, error)

type Finish

type Finish capnp.Struct

func NewFinish

func NewFinish(s *capnp.Segment) (Finish, error)

func NewRootFinish

func NewRootFinish(s *capnp.Segment) (Finish, error)

func ReadRootFinish

func ReadRootFinish(msg *capnp.Message) (Finish, error)

func (Finish) DecodeFromPtr

func (Finish) DecodeFromPtr(p capnp.Ptr) Finish

func (Finish) EncodeAsPtr

func (s Finish) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Finish) IsValid

func (s Finish) IsValid() bool

func (Finish) Message

func (s Finish) Message() *capnp.Message

func (Finish) QuestionId

func (s Finish) QuestionId() uint32

func (Finish) ReleaseResultCaps

func (s Finish) ReleaseResultCaps() bool

func (Finish) Segment

func (s Finish) Segment() *capnp.Segment

func (Finish) SetQuestionId

func (s Finish) SetQuestionId(v uint32)

func (Finish) SetReleaseResultCaps

func (s Finish) SetReleaseResultCaps(v bool)

func (Finish) String

func (s Finish) String() string

func (Finish) ToPtr

func (s Finish) ToPtr() capnp.Ptr

type Finish_Future

type Finish_Future struct{ *capnp.Future }

Finish_Future is a wrapper for a Finish promised by a client call.

func (Finish_Future) Struct

func (f Finish_Future) Struct() (Finish, error)

type Finish_List

type Finish_List = capnp.StructList[Finish]

Finish_List is a list of Finish.

func NewFinish_List

func NewFinish_List(s *capnp.Segment, sz int32) (Finish_List, error)

NewFinish creates a new list of Finish.

type Join

type Join capnp.Struct

func NewJoin

func NewJoin(s *capnp.Segment) (Join, error)

func NewRootJoin

func NewRootJoin(s *capnp.Segment) (Join, error)

func ReadRootJoin

func ReadRootJoin(msg *capnp.Message) (Join, error)

func (Join) DecodeFromPtr

func (Join) DecodeFromPtr(p capnp.Ptr) Join

func (Join) EncodeAsPtr

func (s Join) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Join) HasKeyPart

func (s Join) HasKeyPart() bool

func (Join) HasTarget

func (s Join) HasTarget() bool

func (Join) IsValid

func (s Join) IsValid() bool

func (Join) KeyPart

func (s Join) KeyPart() (capnp.Ptr, error)

func (Join) Message

func (s Join) Message() *capnp.Message

func (Join) NewTarget

func (s Join) NewTarget() (MessageTarget, error)

NewTarget sets the target field to a newly allocated MessageTarget struct, preferring placement in s's segment.

func (Join) QuestionId

func (s Join) QuestionId() uint32

func (Join) Segment

func (s Join) Segment() *capnp.Segment

func (Join) SetKeyPart

func (s Join) SetKeyPart(v capnp.Ptr) error

func (Join) SetQuestionId

func (s Join) SetQuestionId(v uint32)

func (Join) SetTarget

func (s Join) SetTarget(v MessageTarget) error

func (Join) String

func (s Join) String() string

func (Join) Target

func (s Join) Target() (MessageTarget, error)

func (Join) ToPtr

func (s Join) ToPtr() capnp.Ptr

type Join_Future

type Join_Future struct{ *capnp.Future }

Join_Future is a wrapper for a Join promised by a client call.

func (Join_Future) KeyPart

func (p Join_Future) KeyPart() *capnp.Future

func (Join_Future) Struct

func (f Join_Future) Struct() (Join, error)

func (Join_Future) Target

func (p Join_Future) Target() MessageTarget_Future

type Join_List

type Join_List = capnp.StructList[Join]

Join_List is a list of Join.

func NewJoin_List

func NewJoin_List(s *capnp.Segment, sz int32) (Join_List, error)

NewJoin creates a new list of Join.

type Message

type Message capnp.Struct

func NewMessage

func NewMessage(s *capnp.Segment) (Message, error)

func NewRootMessage

func NewRootMessage(s *capnp.Segment) (Message, error)

func ReadRootMessage

func ReadRootMessage(msg *capnp.Message) (Message, error)

func (Message) Abort

func (s Message) Abort() (Exception, error)

func (Message) Accept

func (s Message) Accept() (Accept, error)

func (Message) Bootstrap

func (s Message) Bootstrap() (Bootstrap, error)

func (Message) Call

func (s Message) Call() (Call, error)

func (Message) DecodeFromPtr

func (Message) DecodeFromPtr(p capnp.Ptr) Message

func (Message) Disembargo

func (s Message) Disembargo() (Disembargo, error)

func (Message) EncodeAsPtr

func (s Message) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Message) Finish

func (s Message) Finish() (Finish, error)

func (Message) HasAbort

func (s Message) HasAbort() bool

func (Message) HasAccept

func (s Message) HasAccept() bool

func (Message) HasBootstrap

func (s Message) HasBootstrap() bool

func (Message) HasCall

func (s Message) HasCall() bool

func (Message) HasDisembargo

func (s Message) HasDisembargo() bool

func (Message) HasFinish

func (s Message) HasFinish() bool

func (Message) HasJoin

func (s Message) HasJoin() bool

func (Message) HasObsoleteDelete

func (s Message) HasObsoleteDelete() bool

func (Message) HasObsoleteSave

func (s Message) HasObsoleteSave() bool

func (Message) HasProvide

func (s Message) HasProvide() bool

func (Message) HasRelease

func (s Message) HasRelease() bool

func (Message) HasResolve

func (s Message) HasResolve() bool

func (Message) HasReturn

func (s Message) HasReturn() bool

func (Message) HasUnimplemented

func (s Message) HasUnimplemented() bool

func (Message) IsValid

func (s Message) IsValid() bool

func (Message) Join

func (s Message) Join() (Join, error)

func (Message) Message

func (s Message) Message() *capnp.Message

func (Message) NewAbort

func (s Message) NewAbort() (Exception, error)

NewAbort sets the abort field to a newly allocated Exception struct, preferring placement in s's segment.

func (Message) NewAccept

func (s Message) NewAccept() (Accept, error)

NewAccept sets the accept field to a newly allocated Accept struct, preferring placement in s's segment.

func (Message) NewBootstrap

func (s Message) NewBootstrap() (Bootstrap, error)

NewBootstrap sets the bootstrap field to a newly allocated Bootstrap struct, preferring placement in s's segment.

func (Message) NewCall

func (s Message) NewCall() (Call, error)

NewCall sets the call field to a newly allocated Call struct, preferring placement in s's segment.

func (Message) NewDisembargo

func (s Message) NewDisembargo() (Disembargo, error)

NewDisembargo sets the disembargo field to a newly allocated Disembargo struct, preferring placement in s's segment.

func (Message) NewFinish

func (s Message) NewFinish() (Finish, error)

NewFinish sets the finish field to a newly allocated Finish struct, preferring placement in s's segment.

func (Message) NewJoin

func (s Message) NewJoin() (Join, error)

NewJoin sets the join field to a newly allocated Join struct, preferring placement in s's segment.

func (Message) NewProvide

func (s Message) NewProvide() (Provide, error)

NewProvide sets the provide field to a newly allocated Provide struct, preferring placement in s's segment.

func (Message) NewRelease

func (s Message) NewRelease() (Release, error)

NewRelease sets the release field to a newly allocated Release struct, preferring placement in s's segment.

func (Message) NewResolve

func (s Message) NewResolve() (Resolve, error)

NewResolve sets the resolve field to a newly allocated Resolve struct, preferring placement in s's segment.

func (Message) NewReturn

func (s Message) NewReturn() (Return, error)

NewReturn sets the return field to a newly allocated Return struct, preferring placement in s's segment.

func (Message) NewUnimplemented

func (s Message) NewUnimplemented() (Message, error)

NewUnimplemented sets the unimplemented field to a newly allocated Message struct, preferring placement in s's segment.

func (Message) ObsoleteDelete

func (s Message) ObsoleteDelete() (capnp.Ptr, error)

func (Message) ObsoleteSave

func (s Message) ObsoleteSave() (capnp.Ptr, error)

func (Message) Provide

func (s Message) Provide() (Provide, error)

func (Message) Release

func (s Message) Release() (Release, error)

func (Message) Resolve

func (s Message) Resolve() (Resolve, error)

func (Message) Return

func (s Message) Return() (Return, error)

func (Message) Segment

func (s Message) Segment() *capnp.Segment

func (Message) SetAbort

func (s Message) SetAbort(v Exception) error

func (Message) SetAccept

func (s Message) SetAccept(v Accept) error

func (Message) SetBootstrap

func (s Message) SetBootstrap(v Bootstrap) error

func (Message) SetCall

func (s Message) SetCall(v Call) error

func (Message) SetDisembargo

func (s Message) SetDisembargo(v Disembargo) error

func (Message) SetFinish

func (s Message) SetFinish(v Finish) error

func (Message) SetJoin

func (s Message) SetJoin(v Join) error

func (Message) SetObsoleteDelete

func (s Message) SetObsoleteDelete(v capnp.Ptr) error

func (Message) SetObsoleteSave

func (s Message) SetObsoleteSave(v capnp.Ptr) error

func (Message) SetProvide

func (s Message) SetProvide(v Provide) error

func (Message) SetRelease

func (s Message) SetRelease(v Release) error

func (Message) SetResolve

func (s Message) SetResolve(v Resolve) error

func (Message) SetReturn

func (s Message) SetReturn(v Return) error

func (Message) SetUnimplemented

func (s Message) SetUnimplemented(v Message) error

func (Message) String

func (s Message) String() string

func (Message) ToPtr

func (s Message) ToPtr() capnp.Ptr

func (Message) Unimplemented

func (s Message) Unimplemented() (Message, error)

func (Message) Which

func (s Message) Which() Message_Which

type MessageTarget

type MessageTarget capnp.Struct

func NewMessageTarget

func NewMessageTarget(s *capnp.Segment) (MessageTarget, error)

func NewRootMessageTarget

func NewRootMessageTarget(s *capnp.Segment) (MessageTarget, error)

func ReadRootMessageTarget

func ReadRootMessageTarget(msg *capnp.Message) (MessageTarget, error)

func (MessageTarget) DecodeFromPtr

func (MessageTarget) DecodeFromPtr(p capnp.Ptr) MessageTarget

func (MessageTarget) EncodeAsPtr

func (s MessageTarget) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (MessageTarget) HasPromisedAnswer

func (s MessageTarget) HasPromisedAnswer() bool

func (MessageTarget) ImportedCap

func (s MessageTarget) ImportedCap() uint32

func (MessageTarget) IsValid

func (s MessageTarget) IsValid() bool

func (MessageTarget) Message

func (s MessageTarget) Message() *capnp.Message

func (MessageTarget) NewPromisedAnswer

func (s MessageTarget) NewPromisedAnswer() (PromisedAnswer, error)

NewPromisedAnswer sets the promisedAnswer field to a newly allocated PromisedAnswer struct, preferring placement in s's segment.

func (MessageTarget) PromisedAnswer

func (s MessageTarget) PromisedAnswer() (PromisedAnswer, error)

func (MessageTarget) Segment

func (s MessageTarget) Segment() *capnp.Segment

func (MessageTarget) SetImportedCap

func (s MessageTarget) SetImportedCap(v uint32)

func (MessageTarget) SetPromisedAnswer

func (s MessageTarget) SetPromisedAnswer(v PromisedAnswer) error

func (MessageTarget) String

func (s MessageTarget) String() string

func (MessageTarget) ToPtr

func (s MessageTarget) ToPtr() capnp.Ptr

func (MessageTarget) Which

type MessageTarget_Future

type MessageTarget_Future struct{ *capnp.Future }

MessageTarget_Future is a wrapper for a MessageTarget promised by a client call.

func (MessageTarget_Future) PromisedAnswer

func (p MessageTarget_Future) PromisedAnswer() PromisedAnswer_Future

func (MessageTarget_Future) Struct

type MessageTarget_List

type MessageTarget_List = capnp.StructList[MessageTarget]

MessageTarget_List is a list of MessageTarget.

func NewMessageTarget_List

func NewMessageTarget_List(s *capnp.Segment, sz int32) (MessageTarget_List, error)

NewMessageTarget creates a new list of MessageTarget.

type MessageTarget_Which

type MessageTarget_Which uint16
const (
	MessageTarget_Which_importedCap    MessageTarget_Which = 0
	MessageTarget_Which_promisedAnswer MessageTarget_Which = 1
)

func (MessageTarget_Which) String

func (w MessageTarget_Which) String() string

type Message_Future

type Message_Future struct{ *capnp.Future }

Message_Future is a wrapper for a Message promised by a client call.

func (Message_Future) Abort

func (p Message_Future) Abort() Exception_Future

func (Message_Future) Accept

func (p Message_Future) Accept() Accept_Future

func (Message_Future) Bootstrap

func (p Message_Future) Bootstrap() Bootstrap_Future

func (Message_Future) Call

func (p Message_Future) Call() Call_Future

func (Message_Future) Disembargo

func (p Message_Future) Disembargo() Disembargo_Future

func (Message_Future) Finish

func (p Message_Future) Finish() Finish_Future

func (Message_Future) Join

func (p Message_Future) Join() Join_Future

func (Message_Future) ObsoleteDelete

func (p Message_Future) ObsoleteDelete() *capnp.Future

func (Message_Future) ObsoleteSave

func (p Message_Future) ObsoleteSave() *capnp.Future

func (Message_Future) Provide

func (p Message_Future) Provide() Provide_Future

func (Message_Future) Release

func (p Message_Future) Release() Release_Future

func (Message_Future) Resolve

func (p Message_Future) Resolve() Resolve_Future

func (Message_Future) Return

func (p Message_Future) Return() Return_Future

func (Message_Future) Struct

func (f Message_Future) Struct() (Message, error)

func (Message_Future) Unimplemented

func (p Message_Future) Unimplemented() Message_Future

type Message_List

type Message_List = capnp.StructList[Message]

Message_List is a list of Message.

func NewMessage_List

func NewMessage_List(s *capnp.Segment, sz int32) (Message_List, error)

NewMessage creates a new list of Message.

type Message_Which

type Message_Which uint16
const (
	Message_Which_unimplemented  Message_Which = 0
	Message_Which_abort          Message_Which = 1
	Message_Which_bootstrap      Message_Which = 8
	Message_Which_call           Message_Which = 2
	Message_Which_return         Message_Which = 3
	Message_Which_finish         Message_Which = 4
	Message_Which_resolve        Message_Which = 5
	Message_Which_release        Message_Which = 6
	Message_Which_disembargo     Message_Which = 13
	Message_Which_obsoleteSave   Message_Which = 7
	Message_Which_obsoleteDelete Message_Which = 9
	Message_Which_provide        Message_Which = 10
	Message_Which_accept         Message_Which = 11
	Message_Which_join           Message_Which = 12
)

func (Message_Which) String

func (w Message_Which) String() string

type Payload

type Payload capnp.Struct

func NewPayload

func NewPayload(s *capnp.Segment) (Payload, error)

func NewRootPayload

func NewRootPayload(s *capnp.Segment) (Payload, error)

func ReadRootPayload

func ReadRootPayload(msg *capnp.Message) (Payload, error)

func (Payload) CapTable

func (s Payload) CapTable() (CapDescriptor_List, error)

func (Payload) Content

func (s Payload) Content() (capnp.Ptr, error)

func (Payload) DecodeFromPtr

func (Payload) DecodeFromPtr(p capnp.Ptr) Payload

func (Payload) EncodeAsPtr

func (s Payload) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Payload) HasCapTable

func (s Payload) HasCapTable() bool

func (Payload) HasContent

func (s Payload) HasContent() bool

func (Payload) IsValid

func (s Payload) IsValid() bool

func (Payload) Message

func (s Payload) Message() *capnp.Message

func (Payload) NewCapTable

func (s Payload) NewCapTable(n int32) (CapDescriptor_List, error)

NewCapTable sets the capTable field to a newly allocated CapDescriptor_List, preferring placement in s's segment.

func (Payload) Segment

func (s Payload) Segment() *capnp.Segment

func (Payload) SetCapTable

func (s Payload) SetCapTable(v CapDescriptor_List) error

func (Payload) SetContent

func (s Payload) SetContent(v capnp.Ptr) error

func (Payload) String

func (s Payload) String() string

func (Payload) ToPtr

func (s Payload) ToPtr() capnp.Ptr

type Payload_Future

type Payload_Future struct{ *capnp.Future }

Payload_Future is a wrapper for a Payload promised by a client call.

func (Payload_Future) Content

func (p Payload_Future) Content() *capnp.Future

func (Payload_Future) Struct

func (f Payload_Future) Struct() (Payload, error)

type Payload_List

type Payload_List = capnp.StructList[Payload]

Payload_List is a list of Payload.

func NewPayload_List

func NewPayload_List(s *capnp.Segment, sz int32) (Payload_List, error)

NewPayload creates a new list of Payload.

type PromisedAnswer

type PromisedAnswer capnp.Struct

func NewPromisedAnswer

func NewPromisedAnswer(s *capnp.Segment) (PromisedAnswer, error)

func NewRootPromisedAnswer

func NewRootPromisedAnswer(s *capnp.Segment) (PromisedAnswer, error)

func ReadRootPromisedAnswer

func ReadRootPromisedAnswer(msg *capnp.Message) (PromisedAnswer, error)

func (PromisedAnswer) DecodeFromPtr

func (PromisedAnswer) DecodeFromPtr(p capnp.Ptr) PromisedAnswer

func (PromisedAnswer) EncodeAsPtr

func (s PromisedAnswer) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (PromisedAnswer) HasTransform

func (s PromisedAnswer) HasTransform() bool

func (PromisedAnswer) IsValid

func (s PromisedAnswer) IsValid() bool

func (PromisedAnswer) Message

func (s PromisedAnswer) Message() *capnp.Message

func (PromisedAnswer) NewTransform

func (s PromisedAnswer) NewTransform(n int32) (PromisedAnswer_Op_List, error)

NewTransform sets the transform field to a newly allocated PromisedAnswer_Op_List, preferring placement in s's segment.

func (PromisedAnswer) QuestionId

func (s PromisedAnswer) QuestionId() uint32

func (PromisedAnswer) Segment

func (s PromisedAnswer) Segment() *capnp.Segment

func (PromisedAnswer) SetQuestionId

func (s PromisedAnswer) SetQuestionId(v uint32)

func (PromisedAnswer) SetTransform

func (s PromisedAnswer) SetTransform(v PromisedAnswer_Op_List) error

func (PromisedAnswer) String

func (s PromisedAnswer) String() string

func (PromisedAnswer) ToPtr

func (s PromisedAnswer) ToPtr() capnp.Ptr

func (PromisedAnswer) Transform

func (s PromisedAnswer) Transform() (PromisedAnswer_Op_List, error)

type PromisedAnswer_Future

type PromisedAnswer_Future struct{ *capnp.Future }

PromisedAnswer_Future is a wrapper for a PromisedAnswer promised by a client call.

func (PromisedAnswer_Future) Struct

type PromisedAnswer_List

type PromisedAnswer_List = capnp.StructList[PromisedAnswer]

PromisedAnswer_List is a list of PromisedAnswer.

func NewPromisedAnswer_List

func NewPromisedAnswer_List(s *capnp.Segment, sz int32) (PromisedAnswer_List, error)

NewPromisedAnswer creates a new list of PromisedAnswer.

type PromisedAnswer_Op

type PromisedAnswer_Op capnp.Struct

func NewPromisedAnswer_Op

func NewPromisedAnswer_Op(s *capnp.Segment) (PromisedAnswer_Op, error)

func NewRootPromisedAnswer_Op

func NewRootPromisedAnswer_Op(s *capnp.Segment) (PromisedAnswer_Op, error)

func ReadRootPromisedAnswer_Op

func ReadRootPromisedAnswer_Op(msg *capnp.Message) (PromisedAnswer_Op, error)

func (PromisedAnswer_Op) DecodeFromPtr

func (PromisedAnswer_Op) DecodeFromPtr(p capnp.Ptr) PromisedAnswer_Op

func (PromisedAnswer_Op) EncodeAsPtr

func (s PromisedAnswer_Op) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (PromisedAnswer_Op) GetPointerField

func (s PromisedAnswer_Op) GetPointerField() uint16

func (PromisedAnswer_Op) IsValid

func (s PromisedAnswer_Op) IsValid() bool

func (PromisedAnswer_Op) Message

func (s PromisedAnswer_Op) Message() *capnp.Message

func (PromisedAnswer_Op) Segment

func (s PromisedAnswer_Op) Segment() *capnp.Segment

func (PromisedAnswer_Op) SetGetPointerField

func (s PromisedAnswer_Op) SetGetPointerField(v uint16)

func (PromisedAnswer_Op) SetNoop

func (s PromisedAnswer_Op) SetNoop()

func (PromisedAnswer_Op) String

func (s PromisedAnswer_Op) String() string

func (PromisedAnswer_Op) ToPtr

func (s PromisedAnswer_Op) ToPtr() capnp.Ptr

func (PromisedAnswer_Op) Which

type PromisedAnswer_Op_Future

type PromisedAnswer_Op_Future struct{ *capnp.Future }

PromisedAnswer_Op_Future is a wrapper for a PromisedAnswer_Op promised by a client call.

func (PromisedAnswer_Op_Future) Struct

type PromisedAnswer_Op_List

type PromisedAnswer_Op_List = capnp.StructList[PromisedAnswer_Op]

PromisedAnswer_Op_List is a list of PromisedAnswer_Op.

func NewPromisedAnswer_Op_List

func NewPromisedAnswer_Op_List(s *capnp.Segment, sz int32) (PromisedAnswer_Op_List, error)

NewPromisedAnswer_Op creates a new list of PromisedAnswer_Op.

type PromisedAnswer_Op_Which

type PromisedAnswer_Op_Which uint16
const (
	PromisedAnswer_Op_Which_noop            PromisedAnswer_Op_Which = 0
	PromisedAnswer_Op_Which_getPointerField PromisedAnswer_Op_Which = 1
)

func (PromisedAnswer_Op_Which) String

func (w PromisedAnswer_Op_Which) String() string

type Provide

type Provide capnp.Struct

func NewProvide

func NewProvide(s *capnp.Segment) (Provide, error)

func NewRootProvide

func NewRootProvide(s *capnp.Segment) (Provide, error)

func ReadRootProvide

func ReadRootProvide(msg *capnp.Message) (Provide, error)

func (Provide) DecodeFromPtr

func (Provide) DecodeFromPtr(p capnp.Ptr) Provide

func (Provide) EncodeAsPtr

func (s Provide) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Provide) HasRecipient

func (s Provide) HasRecipient() bool

func (Provide) HasTarget

func (s Provide) HasTarget() bool

func (Provide) IsValid

func (s Provide) IsValid() bool

func (Provide) Message

func (s Provide) Message() *capnp.Message

func (Provide) NewTarget

func (s Provide) NewTarget() (MessageTarget, error)

NewTarget sets the target field to a newly allocated MessageTarget struct, preferring placement in s's segment.

func (Provide) QuestionId

func (s Provide) QuestionId() uint32

func (Provide) Recipient

func (s Provide) Recipient() (capnp.Ptr, error)

func (Provide) Segment

func (s Provide) Segment() *capnp.Segment

func (Provide) SetQuestionId

func (s Provide) SetQuestionId(v uint32)

func (Provide) SetRecipient

func (s Provide) SetRecipient(v capnp.Ptr) error

func (Provide) SetTarget

func (s Provide) SetTarget(v MessageTarget) error

func (Provide) String

func (s Provide) String() string

func (Provide) Target

func (s Provide) Target() (MessageTarget, error)

func (Provide) ToPtr

func (s Provide) ToPtr() capnp.Ptr

type Provide_Future

type Provide_Future struct{ *capnp.Future }

Provide_Future is a wrapper for a Provide promised by a client call.

func (Provide_Future) Recipient

func (p Provide_Future) Recipient() *capnp.Future

func (Provide_Future) Struct

func (f Provide_Future) Struct() (Provide, error)

func (Provide_Future) Target

type Provide_List

type Provide_List = capnp.StructList[Provide]

Provide_List is a list of Provide.

func NewProvide_List

func NewProvide_List(s *capnp.Segment, sz int32) (Provide_List, error)

NewProvide creates a new list of Provide.

type Release

type Release capnp.Struct

func NewRelease

func NewRelease(s *capnp.Segment) (Release, error)

func NewRootRelease

func NewRootRelease(s *capnp.Segment) (Release, error)

func ReadRootRelease

func ReadRootRelease(msg *capnp.Message) (Release, error)

func (Release) DecodeFromPtr

func (Release) DecodeFromPtr(p capnp.Ptr) Release

func (Release) EncodeAsPtr

func (s Release) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Release) Id

func (s Release) Id() uint32

func (Release) IsValid

func (s Release) IsValid() bool

func (Release) Message

func (s Release) Message() *capnp.Message

func (Release) ReferenceCount

func (s Release) ReferenceCount() uint32

func (Release) Segment

func (s Release) Segment() *capnp.Segment

func (Release) SetId

func (s Release) SetId(v uint32)

func (Release) SetReferenceCount

func (s Release) SetReferenceCount(v uint32)

func (Release) String

func (s Release) String() string

func (Release) ToPtr

func (s Release) ToPtr() capnp.Ptr

type Release_Future

type Release_Future struct{ *capnp.Future }

Release_Future is a wrapper for a Release promised by a client call.

func (Release_Future) Struct

func (f Release_Future) Struct() (Release, error)

type Release_List

type Release_List = capnp.StructList[Release]

Release_List is a list of Release.

func NewRelease_List

func NewRelease_List(s *capnp.Segment, sz int32) (Release_List, error)

NewRelease creates a new list of Release.

type Resolve

type Resolve capnp.Struct

func NewResolve

func NewResolve(s *capnp.Segment) (Resolve, error)

func NewRootResolve

func NewRootResolve(s *capnp.Segment) (Resolve, error)

func ReadRootResolve

func ReadRootResolve(msg *capnp.Message) (Resolve, error)

func (Resolve) Cap

func (s Resolve) Cap() (CapDescriptor, error)

func (Resolve) DecodeFromPtr

func (Resolve) DecodeFromPtr(p capnp.Ptr) Resolve

func (Resolve) EncodeAsPtr

func (s Resolve) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Resolve) Exception

func (s Resolve) Exception() (Exception, error)

func (Resolve) HasCap

func (s Resolve) HasCap() bool

func (Resolve) HasException

func (s Resolve) HasException() bool

func (Resolve) IsValid

func (s Resolve) IsValid() bool

func (Resolve) Message

func (s Resolve) Message() *capnp.Message

func (Resolve) NewCap

func (s Resolve) NewCap() (CapDescriptor, error)

NewCap sets the cap field to a newly allocated CapDescriptor struct, preferring placement in s's segment.

func (Resolve) NewException

func (s Resolve) NewException() (Exception, error)

NewException sets the exception field to a newly allocated Exception struct, preferring placement in s's segment.

func (Resolve) PromiseId

func (s Resolve) PromiseId() uint32

func (Resolve) Segment

func (s Resolve) Segment() *capnp.Segment

func (Resolve) SetCap

func (s Resolve) SetCap(v CapDescriptor) error

func (Resolve) SetException

func (s Resolve) SetException(v Exception) error

func (Resolve) SetPromiseId

func (s Resolve) SetPromiseId(v uint32)

func (Resolve) String

func (s Resolve) String() string

func (Resolve) ToPtr

func (s Resolve) ToPtr() capnp.Ptr

func (Resolve) Which

func (s Resolve) Which() Resolve_Which

type Resolve_Future

type Resolve_Future struct{ *capnp.Future }

Resolve_Future is a wrapper for a Resolve promised by a client call.

func (Resolve_Future) Cap

func (Resolve_Future) Exception

func (p Resolve_Future) Exception() Exception_Future

func (Resolve_Future) Struct

func (f Resolve_Future) Struct() (Resolve, error)

type Resolve_List

type Resolve_List = capnp.StructList[Resolve]

Resolve_List is a list of Resolve.

func NewResolve_List

func NewResolve_List(s *capnp.Segment, sz int32) (Resolve_List, error)

NewResolve creates a new list of Resolve.

type Resolve_Which

type Resolve_Which uint16
const (
	Resolve_Which_cap       Resolve_Which = 0
	Resolve_Which_exception Resolve_Which = 1
)

func (Resolve_Which) String

func (w Resolve_Which) String() string

type Return

type Return capnp.Struct

func NewReturn

func NewReturn(s *capnp.Segment) (Return, error)

func NewRootReturn

func NewRootReturn(s *capnp.Segment) (Return, error)

func ReadRootReturn

func ReadRootReturn(msg *capnp.Message) (Return, error)

func (Return) AcceptFromThirdParty

func (s Return) AcceptFromThirdParty() (capnp.Ptr, error)

func (Return) AnswerId

func (s Return) AnswerId() uint32

func (Return) DecodeFromPtr

func (Return) DecodeFromPtr(p capnp.Ptr) Return

func (Return) EncodeAsPtr

func (s Return) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Return) Exception

func (s Return) Exception() (Exception, error)

func (Return) HasAcceptFromThirdParty

func (s Return) HasAcceptFromThirdParty() bool

func (Return) HasException

func (s Return) HasException() bool

func (Return) HasResults

func (s Return) HasResults() bool

func (Return) IsValid

func (s Return) IsValid() bool

func (Return) Message

func (s Return) Message() *capnp.Message

func (Return) NewException

func (s Return) NewException() (Exception, error)

NewException sets the exception field to a newly allocated Exception struct, preferring placement in s's segment.

func (Return) NewResults

func (s Return) NewResults() (Payload, error)

NewResults sets the results field to a newly allocated Payload struct, preferring placement in s's segment.

func (Return) ReleaseParamCaps

func (s Return) ReleaseParamCaps() bool

func (Return) Results

func (s Return) Results() (Payload, error)

func (Return) Segment

func (s Return) Segment() *capnp.Segment

func (Return) SetAcceptFromThirdParty

func (s Return) SetAcceptFromThirdParty(v capnp.Ptr) error

func (Return) SetAnswerId

func (s Return) SetAnswerId(v uint32)

func (Return) SetCanceled

func (s Return) SetCanceled()

func (Return) SetException

func (s Return) SetException(v Exception) error

func (Return) SetReleaseParamCaps

func (s Return) SetReleaseParamCaps(v bool)

func (Return) SetResults

func (s Return) SetResults(v Payload) error

func (Return) SetResultsSentElsewhere

func (s Return) SetResultsSentElsewhere()

func (Return) SetTakeFromOtherQuestion

func (s Return) SetTakeFromOtherQuestion(v uint32)

func (Return) String

func (s Return) String() string

func (Return) TakeFromOtherQuestion

func (s Return) TakeFromOtherQuestion() uint32

func (Return) ToPtr

func (s Return) ToPtr() capnp.Ptr

func (Return) Which

func (s Return) Which() Return_Which

type Return_Future

type Return_Future struct{ *capnp.Future }

Return_Future is a wrapper for a Return promised by a client call.

func (Return_Future) AcceptFromThirdParty

func (p Return_Future) AcceptFromThirdParty() *capnp.Future

func (Return_Future) Exception

func (p Return_Future) Exception() Exception_Future

func (Return_Future) Results

func (p Return_Future) Results() Payload_Future

func (Return_Future) Struct

func (f Return_Future) Struct() (Return, error)

type Return_List

type Return_List = capnp.StructList[Return]

Return_List is a list of Return.

func NewReturn_List

func NewReturn_List(s *capnp.Segment, sz int32) (Return_List, error)

NewReturn creates a new list of Return.

type Return_Which

type Return_Which uint16
const (
	Return_Which_results               Return_Which = 0
	Return_Which_exception             Return_Which = 1
	Return_Which_canceled              Return_Which = 2
	Return_Which_resultsSentElsewhere  Return_Which = 3
	Return_Which_takeFromOtherQuestion Return_Which = 4
	Return_Which_acceptFromThirdParty  Return_Which = 5
)

func (Return_Which) String

func (w Return_Which) String() string

type ThirdPartyCapDescriptor

type ThirdPartyCapDescriptor capnp.Struct

func NewRootThirdPartyCapDescriptor

func NewRootThirdPartyCapDescriptor(s *capnp.Segment) (ThirdPartyCapDescriptor, error)

func NewThirdPartyCapDescriptor

func NewThirdPartyCapDescriptor(s *capnp.Segment) (ThirdPartyCapDescriptor, error)

func ReadRootThirdPartyCapDescriptor

func ReadRootThirdPartyCapDescriptor(msg *capnp.Message) (ThirdPartyCapDescriptor, error)

func (ThirdPartyCapDescriptor) DecodeFromPtr

func (ThirdPartyCapDescriptor) EncodeAsPtr

func (s ThirdPartyCapDescriptor) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (ThirdPartyCapDescriptor) HasId

func (s ThirdPartyCapDescriptor) HasId() bool

func (ThirdPartyCapDescriptor) Id

func (ThirdPartyCapDescriptor) IsValid

func (s ThirdPartyCapDescriptor) IsValid() bool

func (ThirdPartyCapDescriptor) Message

func (s ThirdPartyCapDescriptor) Message() *capnp.Message

func (ThirdPartyCapDescriptor) Segment

func (s ThirdPartyCapDescriptor) Segment() *capnp.Segment

func (ThirdPartyCapDescriptor) SetId

func (ThirdPartyCapDescriptor) SetVineId

func (s ThirdPartyCapDescriptor) SetVineId(v uint32)

func (ThirdPartyCapDescriptor) String

func (s ThirdPartyCapDescriptor) String() string

func (ThirdPartyCapDescriptor) ToPtr

func (s ThirdPartyCapDescriptor) ToPtr() capnp.Ptr

func (ThirdPartyCapDescriptor) VineId

func (s ThirdPartyCapDescriptor) VineId() uint32

type ThirdPartyCapDescriptor_Future

type ThirdPartyCapDescriptor_Future struct{ *capnp.Future }

ThirdPartyCapDescriptor_Future is a wrapper for a ThirdPartyCapDescriptor promised by a client call.

func (ThirdPartyCapDescriptor_Future) Id

func (ThirdPartyCapDescriptor_Future) Struct

type ThirdPartyCapDescriptor_List

type ThirdPartyCapDescriptor_List = capnp.StructList[ThirdPartyCapDescriptor]

ThirdPartyCapDescriptor_List is a list of ThirdPartyCapDescriptor.

func NewThirdPartyCapDescriptor_List

func NewThirdPartyCapDescriptor_List(s *capnp.Segment, sz int32) (ThirdPartyCapDescriptor_List, error)

NewThirdPartyCapDescriptor creates a new list of ThirdPartyCapDescriptor.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL