common

package module
v0.0.0-...-f8c43a3 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: MPL-2.0 Imports: 8 Imported by: 16

Documentation

Index

Constants

View Source
const Date_TypeID = 0x97e6feac0322118d

Date_TypeID is the unique identifier for the type Date.

View Source
const IdInformation_TypeID = 0xd4cb7ecbfe03dad3

IdInformation_TypeID is the unique identifier for the type IdInformation.

View Source
const Identifiable_TypeID = 0xb2afd1cb599c48d5

Identifiable_TypeID is the unique identifier for the type Identifiable.

View Source
const Identifiable_info_Params_TypeID = 0x9d8aa1cf1e49deb1

Identifiable_info_Params_TypeID is the unique identifier for the type Identifiable_info_Params.

View Source
const Pair_TypeID = 0xb9d4864725174733

Pair_TypeID is the unique identifier for the type Pair.

View Source
const StructuredText_TypeID = 0xed6c098b67cad454

StructuredText_TypeID is the unique identifier for the type StructuredText.

View Source
const Value_TypeID = 0xe17592335373b246

Value_TypeID is the unique identifier for the type Value.

Variables

This section is empty.

Functions

func Identifiable_Methods

func Identifiable_Methods(methods []server.Method, s Identifiable_Server) []server.Method

Identifiable_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func Identifiable_NewServer

func Identifiable_NewServer(s Identifiable_Server) *server.Server

Identifiable_NewServer creates a new Server from an implementation of Identifiable_Server.

func RegisterSchema

func RegisterSchema(reg *schemas.Registry)

Types

type Date

type Date capnp.Struct

func NewDate

func NewDate(s *capnp.Segment) (Date, error)

func NewRootDate

func NewRootDate(s *capnp.Segment) (Date, error)

func ReadRootDate

func ReadRootDate(msg *capnp.Message) (Date, error)

func (Date) Day

func (s Date) Day() uint8

func (Date) DecodeFromPtr

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

func (Date) EncodeAsPtr

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

func (Date) IsValid

func (s Date) IsValid() bool

func (Date) Message

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

func (Date) Month

func (s Date) Month() uint8

func (Date) Segment

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

func (Date) SetDay

func (s Date) SetDay(v uint8)

func (Date) SetMonth

func (s Date) SetMonth(v uint8)

func (Date) SetYear

func (s Date) SetYear(v int16)

func (Date) String

func (s Date) String() string

func (Date) ToPtr

func (s Date) ToPtr() capnp.Ptr

func (Date) Year

func (s Date) Year() int16

type Date_Future

type Date_Future struct{ *capnp.Future }

Date_Future is a wrapper for a Date promised by a client call.

func (Date_Future) Struct

func (f Date_Future) Struct() (Date, error)

type Date_List

type Date_List = capnp.StructList[Date]

Date_List is a list of Date.

func NewDate_List

func NewDate_List(s *capnp.Segment, sz int32) (Date_List, error)

NewDate creates a new list of Date.

type IdInformation

type IdInformation capnp.Struct

func NewIdInformation

func NewIdInformation(s *capnp.Segment) (IdInformation, error)

func NewRootIdInformation

func NewRootIdInformation(s *capnp.Segment) (IdInformation, error)

func ReadRootIdInformation

func ReadRootIdInformation(msg *capnp.Message) (IdInformation, error)

func (IdInformation) DecodeFromPtr

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

func (IdInformation) Description

func (s IdInformation) Description() (string, error)

func (IdInformation) DescriptionBytes

func (s IdInformation) DescriptionBytes() ([]byte, error)

func (IdInformation) EncodeAsPtr

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

func (IdInformation) HasDescription

func (s IdInformation) HasDescription() bool

func (IdInformation) HasId

func (s IdInformation) HasId() bool

func (IdInformation) HasName

func (s IdInformation) HasName() bool

func (IdInformation) Id

func (s IdInformation) Id() (string, error)

func (IdInformation) IdBytes

func (s IdInformation) IdBytes() ([]byte, error)

func (IdInformation) IsValid

func (s IdInformation) IsValid() bool

func (IdInformation) Message

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

func (IdInformation) Name

func (s IdInformation) Name() (string, error)

func (IdInformation) NameBytes

func (s IdInformation) NameBytes() ([]byte, error)

func (IdInformation) Segment

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

func (IdInformation) SetDescription

func (s IdInformation) SetDescription(v string) error

func (IdInformation) SetId

func (s IdInformation) SetId(v string) error

func (IdInformation) SetName

func (s IdInformation) SetName(v string) error

func (IdInformation) String

func (s IdInformation) String() string

func (IdInformation) ToPtr

func (s IdInformation) ToPtr() capnp.Ptr

type IdInformation_Future

type IdInformation_Future struct{ *capnp.Future }

IdInformation_Future is a wrapper for a IdInformation promised by a client call.

func (IdInformation_Future) Struct

type IdInformation_List

type IdInformation_List = capnp.StructList[IdInformation]

IdInformation_List is a list of IdInformation.

func NewIdInformation_List

func NewIdInformation_List(s *capnp.Segment, sz int32) (IdInformation_List, error)

NewIdInformation creates a new list of IdInformation.

type Identifiable

type Identifiable capnp.Client

func Identifiable_ServerToClient

func Identifiable_ServerToClient(s Identifiable_Server) Identifiable

Identifiable_ServerToClient creates a new Client from an implementation of Identifiable_Server. The caller is responsible for calling Release on the returned Client.

func (Identifiable) AddRef

func (c Identifiable) AddRef() Identifiable

AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.

func (Identifiable) DecodeFromPtr

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

func (Identifiable) EncodeAsPtr

func (c Identifiable) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Identifiable) GetFlowLimiter

func (c Identifiable) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (Identifiable) Info

func (Identifiable) IsSame

func (c Identifiable) IsSame(other Identifiable) bool

IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.

func (Identifiable) IsValid

func (c Identifiable) IsValid() bool

IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.

func (Identifiable) Release

func (c Identifiable) Release()

Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.

Release will panic if c has already been released, but not if c is nil or resolved to null.

func (Identifiable) Resolve

func (c Identifiable) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (Identifiable) SetFlowLimiter

func (c Identifiable) SetFlowLimiter(lim fc.FlowLimiter)

Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.

func (Identifiable) String

func (c Identifiable) String() string

String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.

func (Identifiable) WaitStreaming

func (c Identifiable) WaitStreaming() error

type Identifiable_List

type Identifiable_List = capnp.CapList[Identifiable]

Identifiable_List is a list of Identifiable.

func NewIdentifiable_List

func NewIdentifiable_List(s *capnp.Segment, sz int32) (Identifiable_List, error)

NewIdentifiable_List creates a new list of Identifiable.

type Identifiable_Server

type Identifiable_Server interface {
	Info(context.Context, Identifiable_info) error
}

A Identifiable_Server is a Identifiable with a local implementation.

type Identifiable_info

type Identifiable_info struct {
	*server.Call
}

Identifiable_info holds the state for a server call to Identifiable.info. See server.Call for documentation.

func (Identifiable_info) AllocResults

func (c Identifiable_info) AllocResults() (IdInformation, error)

AllocResults allocates the results struct.

func (Identifiable_info) Args

Args returns the call's arguments.

type Identifiable_info_Params

type Identifiable_info_Params capnp.Struct

func NewIdentifiable_info_Params

func NewIdentifiable_info_Params(s *capnp.Segment) (Identifiable_info_Params, error)

func NewRootIdentifiable_info_Params

func NewRootIdentifiable_info_Params(s *capnp.Segment) (Identifiable_info_Params, error)

func ReadRootIdentifiable_info_Params

func ReadRootIdentifiable_info_Params(msg *capnp.Message) (Identifiable_info_Params, error)

func (Identifiable_info_Params) DecodeFromPtr

func (Identifiable_info_Params) EncodeAsPtr

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

func (Identifiable_info_Params) IsValid

func (s Identifiable_info_Params) IsValid() bool

func (Identifiable_info_Params) Message

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

func (Identifiable_info_Params) Segment

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

func (Identifiable_info_Params) String

func (s Identifiable_info_Params) String() string

func (Identifiable_info_Params) ToPtr

type Identifiable_info_Params_Future

type Identifiable_info_Params_Future struct{ *capnp.Future }

Identifiable_info_Params_Future is a wrapper for a Identifiable_info_Params promised by a client call.

func (Identifiable_info_Params_Future) Struct

type Identifiable_info_Params_List

type Identifiable_info_Params_List = capnp.StructList[Identifiable_info_Params]

Identifiable_info_Params_List is a list of Identifiable_info_Params.

func NewIdentifiable_info_Params_List

func NewIdentifiable_info_Params_List(s *capnp.Segment, sz int32) (Identifiable_info_Params_List, error)

NewIdentifiable_info_Params creates a new list of Identifiable_info_Params.

type Pair

type Pair capnp.Struct

func NewPair

func NewPair(s *capnp.Segment) (Pair, error)

func NewRootPair

func NewRootPair(s *capnp.Segment) (Pair, error)

func ReadRootPair

func ReadRootPair(msg *capnp.Message) (Pair, error)

func (Pair) DecodeFromPtr

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

func (Pair) EncodeAsPtr

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

func (Pair) Fst

func (s Pair) Fst() (capnp.Ptr, error)

func (Pair) HasFst

func (s Pair) HasFst() bool

func (Pair) HasSnd

func (s Pair) HasSnd() bool

func (Pair) IsValid

func (s Pair) IsValid() bool

func (Pair) Message

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

func (Pair) Segment

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

func (Pair) SetFst

func (s Pair) SetFst(v capnp.Ptr) error

func (Pair) SetSnd

func (s Pair) SetSnd(v capnp.Ptr) error

func (Pair) Snd

func (s Pair) Snd() (capnp.Ptr, error)

func (Pair) String

func (s Pair) String() string

func (Pair) ToPtr

func (s Pair) ToPtr() capnp.Ptr

type Pair_Future

type Pair_Future struct{ *capnp.Future }

Pair_Future is a wrapper for a Pair promised by a client call.

func (Pair_Future) Fst

func (p Pair_Future) Fst() *capnp.Future

func (Pair_Future) Snd

func (p Pair_Future) Snd() *capnp.Future

func (Pair_Future) Struct

func (f Pair_Future) Struct() (Pair, error)

type Pair_List

type Pair_List = capnp.StructList[Pair]

Pair_List is a list of Pair.

func NewPair_List

func NewPair_List(s *capnp.Segment, sz int32) (Pair_List, error)

NewPair creates a new list of Pair.

type StructuredText

type StructuredText capnp.Struct

func NewRootStructuredText

func NewRootStructuredText(s *capnp.Segment) (StructuredText, error)

func NewStructuredText

func NewStructuredText(s *capnp.Segment) (StructuredText, error)

func ReadRootStructuredText

func ReadRootStructuredText(msg *capnp.Message) (StructuredText, error)

func (StructuredText) DecodeFromPtr

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

func (StructuredText) EncodeAsPtr

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

func (StructuredText) HasValue

func (s StructuredText) HasValue() bool

func (StructuredText) IsValid

func (s StructuredText) IsValid() bool

func (StructuredText) Message

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

func (StructuredText) Segment

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

func (StructuredText) SetValue

func (s StructuredText) SetValue(v string) error

func (StructuredText) String

func (s StructuredText) String() string

func (StructuredText) Structure

func (StructuredText) ToPtr

func (s StructuredText) ToPtr() capnp.Ptr

func (StructuredText) Value

func (s StructuredText) Value() (string, error)

func (StructuredText) ValueBytes

func (s StructuredText) ValueBytes() ([]byte, error)

type StructuredText_Future

type StructuredText_Future struct{ *capnp.Future }

StructuredText_Future is a wrapper for a StructuredText promised by a client call.

func (StructuredText_Future) Struct

func (StructuredText_Future) Structure

type StructuredText_List

type StructuredText_List = capnp.StructList[StructuredText]

StructuredText_List is a list of StructuredText.

func NewStructuredText_List

func NewStructuredText_List(s *capnp.Segment, sz int32) (StructuredText_List, error)

NewStructuredText creates a new list of StructuredText.

type StructuredText_structure

type StructuredText_structure StructuredText

func (StructuredText_structure) IsValid

func (s StructuredText_structure) IsValid() bool

func (StructuredText_structure) Message

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

func (StructuredText_structure) Segment

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

func (StructuredText_structure) SetJson

func (s StructuredText_structure) SetJson()

func (StructuredText_structure) SetNone

func (s StructuredText_structure) SetNone()

func (StructuredText_structure) SetXml

func (s StructuredText_structure) SetXml()

func (StructuredText_structure) Which

type StructuredText_structure_Future

type StructuredText_structure_Future struct{ *capnp.Future }

StructuredText_structure_Future is a wrapper for a StructuredText_structure promised by a client call.

func (StructuredText_structure_Future) Struct

type StructuredText_structure_Which

type StructuredText_structure_Which uint16
const (
	StructuredText_structure_Which_none StructuredText_structure_Which = 0
	StructuredText_structure_Which_json StructuredText_structure_Which = 1
	StructuredText_structure_Which_xml  StructuredText_structure_Which = 2
)

func (StructuredText_structure_Which) String

type Value

type Value capnp.Struct

func NewRootValue

func NewRootValue(s *capnp.Segment) (Value, error)

func NewValue

func NewValue(s *capnp.Segment) (Value, error)

func ReadRootValue

func ReadRootValue(msg *capnp.Message) (Value, error)

func (Value) B

func (s Value) B() bool

func (Value) Cap

func (s Value) Cap() capnp.Client

func (Value) D

func (s Value) D() ([]byte, error)

func (Value) DecodeFromPtr

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

func (Value) EncodeAsPtr

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

func (Value) F32

func (s Value) F32() float32

func (Value) F64

func (s Value) F64() float64

func (Value) HasCap

func (s Value) HasCap() bool

func (Value) HasD

func (s Value) HasD() bool

func (Value) HasLb

func (s Value) HasLb() bool

func (Value) HasLcap

func (s Value) HasLcap() bool

func (Value) HasLd

func (s Value) HasLd() bool

func (Value) HasLf32

func (s Value) HasLf32() bool

func (Value) HasLf64

func (s Value) HasLf64() bool

func (Value) HasLi16

func (s Value) HasLi16() bool

func (Value) HasLi32

func (s Value) HasLi32() bool

func (Value) HasLi64

func (s Value) HasLi64() bool

func (Value) HasLi8

func (s Value) HasLi8() bool

func (Value) HasLt

func (s Value) HasLt() bool

func (Value) HasLui16

func (s Value) HasLui16() bool

func (Value) HasLui32

func (s Value) HasLui32() bool

func (Value) HasLui64

func (s Value) HasLui64() bool

func (Value) HasLui8

func (s Value) HasLui8() bool

func (Value) HasP

func (s Value) HasP() bool

func (Value) HasT

func (s Value) HasT() bool

func (Value) I16

func (s Value) I16() int16

func (Value) I32

func (s Value) I32() int32

func (Value) I64

func (s Value) I64() int64

func (Value) I8

func (s Value) I8() int8

func (Value) IsValid

func (s Value) IsValid() bool

func (Value) Lb

func (s Value) Lb() (capnp.BitList, error)

func (Value) Lcap

func (s Value) Lcap() (capnp.PointerList, error)

func (Value) Ld

func (s Value) Ld() (capnp.DataList, error)

func (Value) Lf32

func (s Value) Lf32() (capnp.Float32List, error)

func (Value) Lf64

func (s Value) Lf64() (capnp.Float64List, error)

func (Value) Li16

func (s Value) Li16() (capnp.Int16List, error)

func (Value) Li32

func (s Value) Li32() (capnp.Int32List, error)

func (Value) Li64

func (s Value) Li64() (capnp.Int64List, error)

func (Value) Li8

func (s Value) Li8() (capnp.Int8List, error)

func (Value) Lt

func (s Value) Lt() (capnp.TextList, error)

func (Value) Lui16

func (s Value) Lui16() (capnp.UInt16List, error)

func (Value) Lui32

func (s Value) Lui32() (capnp.UInt32List, error)

func (Value) Lui64

func (s Value) Lui64() (capnp.UInt64List, error)

func (Value) Lui8

func (s Value) Lui8() (capnp.UInt8List, error)

func (Value) Message

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

func (Value) NewLb

func (s Value) NewLb(n int32) (capnp.BitList, error)

NewLb sets the lb field to a newly allocated capnp.BitList, preferring placement in s's segment.

func (Value) NewLcap

func (s Value) NewLcap(n int32) (capnp.PointerList, error)

NewLcap sets the lcap field to a newly allocated capnp.PointerList, preferring placement in s's segment.

func (Value) NewLd

func (s Value) NewLd(n int32) (capnp.DataList, error)

NewLd sets the ld field to a newly allocated capnp.DataList, preferring placement in s's segment.

func (Value) NewLf32

func (s Value) NewLf32(n int32) (capnp.Float32List, error)

NewLf32 sets the lf32 field to a newly allocated capnp.Float32List, preferring placement in s's segment.

func (Value) NewLf64

func (s Value) NewLf64(n int32) (capnp.Float64List, error)

NewLf64 sets the lf64 field to a newly allocated capnp.Float64List, preferring placement in s's segment.

func (Value) NewLi16

func (s Value) NewLi16(n int32) (capnp.Int16List, error)

NewLi16 sets the li16 field to a newly allocated capnp.Int16List, preferring placement in s's segment.

func (Value) NewLi32

func (s Value) NewLi32(n int32) (capnp.Int32List, error)

NewLi32 sets the li32 field to a newly allocated capnp.Int32List, preferring placement in s's segment.

func (Value) NewLi64

func (s Value) NewLi64(n int32) (capnp.Int64List, error)

NewLi64 sets the li64 field to a newly allocated capnp.Int64List, preferring placement in s's segment.

func (Value) NewLi8

func (s Value) NewLi8(n int32) (capnp.Int8List, error)

NewLi8 sets the li8 field to a newly allocated capnp.Int8List, preferring placement in s's segment.

func (Value) NewLt

func (s Value) NewLt(n int32) (capnp.TextList, error)

NewLt sets the lt field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (Value) NewLui16

func (s Value) NewLui16(n int32) (capnp.UInt16List, error)

NewLui16 sets the lui16 field to a newly allocated capnp.UInt16List, preferring placement in s's segment.

func (Value) NewLui32

func (s Value) NewLui32(n int32) (capnp.UInt32List, error)

NewLui32 sets the lui32 field to a newly allocated capnp.UInt32List, preferring placement in s's segment.

func (Value) NewLui64

func (s Value) NewLui64(n int32) (capnp.UInt64List, error)

NewLui64 sets the lui64 field to a newly allocated capnp.UInt64List, preferring placement in s's segment.

func (Value) NewLui8

func (s Value) NewLui8(n int32) (capnp.UInt8List, error)

NewLui8 sets the lui8 field to a newly allocated capnp.UInt8List, preferring placement in s's segment.

func (Value) P

func (s Value) P() (capnp.Ptr, error)

func (Value) Segment

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

func (Value) SetB

func (s Value) SetB(v bool)

func (Value) SetCap

func (s Value) SetCap(c capnp.Client) error

func (Value) SetD

func (s Value) SetD(v []byte) error

func (Value) SetF32

func (s Value) SetF32(v float32)

func (Value) SetF64

func (s Value) SetF64(v float64)

func (Value) SetI16

func (s Value) SetI16(v int16)

func (Value) SetI32

func (s Value) SetI32(v int32)

func (Value) SetI64

func (s Value) SetI64(v int64)

func (Value) SetI8

func (s Value) SetI8(v int8)

func (Value) SetLb

func (s Value) SetLb(v capnp.BitList) error

func (Value) SetLcap

func (s Value) SetLcap(v capnp.PointerList) error

func (Value) SetLd

func (s Value) SetLd(v capnp.DataList) error

func (Value) SetLf32

func (s Value) SetLf32(v capnp.Float32List) error

func (Value) SetLf64

func (s Value) SetLf64(v capnp.Float64List) error

func (Value) SetLi16

func (s Value) SetLi16(v capnp.Int16List) error

func (Value) SetLi32

func (s Value) SetLi32(v capnp.Int32List) error

func (Value) SetLi64

func (s Value) SetLi64(v capnp.Int64List) error

func (Value) SetLi8

func (s Value) SetLi8(v capnp.Int8List) error

func (Value) SetLt

func (s Value) SetLt(v capnp.TextList) error

func (Value) SetLui16

func (s Value) SetLui16(v capnp.UInt16List) error

func (Value) SetLui32

func (s Value) SetLui32(v capnp.UInt32List) error

func (Value) SetLui64

func (s Value) SetLui64(v capnp.UInt64List) error

func (Value) SetLui8

func (s Value) SetLui8(v capnp.UInt8List) error

func (Value) SetP

func (s Value) SetP(v capnp.Ptr) error

func (Value) SetT

func (s Value) SetT(v string) error

func (Value) SetUi16

func (s Value) SetUi16(v uint16)

func (Value) SetUi32

func (s Value) SetUi32(v uint32)

func (Value) SetUi64

func (s Value) SetUi64(v uint64)

func (Value) SetUi8

func (s Value) SetUi8(v uint8)

func (Value) String

func (s Value) String() string

func (Value) T

func (s Value) T() (string, error)

func (Value) TBytes

func (s Value) TBytes() ([]byte, error)

func (Value) ToPtr

func (s Value) ToPtr() capnp.Ptr

func (Value) Ui16

func (s Value) Ui16() uint16

func (Value) Ui32

func (s Value) Ui32() uint32

func (Value) Ui64

func (s Value) Ui64() uint64

func (Value) Ui8

func (s Value) Ui8() uint8

func (Value) Which

func (s Value) Which() Value_Which

type Value_Future

type Value_Future struct{ *capnp.Future }

Value_Future is a wrapper for a Value promised by a client call.

func (Value_Future) Cap

func (p Value_Future) Cap() capnp.Client

func (Value_Future) P

func (p Value_Future) P() *capnp.Future

func (Value_Future) Struct

func (f Value_Future) Struct() (Value, error)

type Value_List

type Value_List = capnp.StructList[Value]

Value_List is a list of Value.

func NewValue_List

func NewValue_List(s *capnp.Segment, sz int32) (Value_List, error)

NewValue creates a new list of Value.

type Value_Which

type Value_Which uint16
const (
	Value_Which_f64   Value_Which = 0
	Value_Which_f32   Value_Which = 1
	Value_Which_i64   Value_Which = 2
	Value_Which_i32   Value_Which = 3
	Value_Which_i16   Value_Which = 4
	Value_Which_i8    Value_Which = 5
	Value_Which_ui64  Value_Which = 6
	Value_Which_ui32  Value_Which = 7
	Value_Which_ui16  Value_Which = 8
	Value_Which_ui8   Value_Which = 9
	Value_Which_b     Value_Which = 10
	Value_Which_t     Value_Which = 11
	Value_Which_d     Value_Which = 12
	Value_Which_p     Value_Which = 13
	Value_Which_cap   Value_Which = 14
	Value_Which_lf64  Value_Which = 15
	Value_Which_lf32  Value_Which = 16
	Value_Which_li64  Value_Which = 17
	Value_Which_li32  Value_Which = 18
	Value_Which_li16  Value_Which = 19
	Value_Which_li8   Value_Which = 20
	Value_Which_lui64 Value_Which = 21
	Value_Which_lui32 Value_Which = 22
	Value_Which_lui16 Value_Which = 23
	Value_Which_lui8  Value_Which = 24
	Value_Which_lb    Value_Which = 25
	Value_Which_lt    Value_Which = 26
	Value_Which_ld    Value_Which = 27
	Value_Which_lcap  Value_Which = 28
)

func (Value_Which) String

func (w Value_Which) String() string

Jump to

Keyboard shortcuts

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