stream

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: 3 Imported by: 0

Documentation

Index

Constants

View Source
const StreamResult_TypeID = 0x995f9a3377c0b16e

StreamResult_TypeID is the unique identifier for the type StreamResult.

Variables

This section is empty.

Functions

func RegisterSchema

func RegisterSchema(reg *schemas.Registry)

Types

type StreamResult

type StreamResult capnp.Struct

func NewRootStreamResult

func NewRootStreamResult(s *capnp.Segment) (StreamResult, error)

func NewStreamResult

func NewStreamResult(s *capnp.Segment) (StreamResult, error)

func ReadRootStreamResult

func ReadRootStreamResult(msg *capnp.Message) (StreamResult, error)

func (StreamResult) DecodeFromPtr

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

func (StreamResult) EncodeAsPtr

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

func (StreamResult) IsValid

func (s StreamResult) IsValid() bool

func (StreamResult) Message

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

func (StreamResult) Segment

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

func (StreamResult) String

func (s StreamResult) String() string

func (StreamResult) ToPtr

func (s StreamResult) ToPtr() capnp.Ptr

type StreamResult_Future

type StreamResult_Future struct{ *capnp.Future }

StreamResult_Future is a wrapper for a StreamResult promised by a client call.

func (StreamResult_Future) Struct

func (f StreamResult_Future) Struct() (StreamResult, error)

type StreamResult_List

type StreamResult_List = capnp.StructList[StreamResult]

StreamResult_List is a list of StreamResult.

func NewStreamResult_List

func NewStreamResult_List(s *capnp.Segment, sz int32) (StreamResult_List, error)

NewStreamResult creates a new list of StreamResult.

Jump to

Keyboard shortcuts

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