Documentation ¶
Index ¶
- Constants
- Variables
- type MimeTypeInfo
- func (MimeTypeInfo) DecodeFromPtr(p capnp.Ptr) MimeTypeInfo
- func (s MimeTypeInfo) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s MimeTypeInfo) Extensions() (capnp.TextList, error)
- func (s MimeTypeInfo) HasExtensions() bool
- func (s MimeTypeInfo) HasName() bool
- func (s MimeTypeInfo) IsValid() bool
- func (s MimeTypeInfo) Message() *capnp.Message
- func (s MimeTypeInfo) Name() (string, error)
- func (s MimeTypeInfo) NameBytes() ([]byte, error)
- func (s MimeTypeInfo) NewExtensions(n int32) (capnp.TextList, error)
- func (s MimeTypeInfo) Segment() *capnp.Segment
- func (s MimeTypeInfo) SetExtensions(v capnp.TextList) error
- func (s MimeTypeInfo) SetName(v string) error
- func (s MimeTypeInfo) String() string
- func (s MimeTypeInfo) ToPtr() capnp.Ptr
- type MimeTypeInfo_Future
- type MimeTypeInfo_List
Constants ¶
View Source
const MimeTypeInfo_TypeID = 0x9f7f2421ef0a960b
MimeTypeInfo_TypeID is the unique identifier for the type MimeTypeInfo.
Variables ¶
View Source
var (
MimeTypeInfoTable = MimeTypeInfo_List(capnp.MustUnmarshalRoot(x_9dc702ea30180791[0:55568]).List())
)
Constants defined in mime.capnp.
Functions ¶
This section is empty.
Types ¶
type MimeTypeInfo ¶
func NewMimeTypeInfo ¶
func NewMimeTypeInfo(s *capnp.Segment) (MimeTypeInfo, error)
func NewRootMimeTypeInfo ¶
func NewRootMimeTypeInfo(s *capnp.Segment) (MimeTypeInfo, error)
func ReadRootMimeTypeInfo ¶
func ReadRootMimeTypeInfo(msg *capnp.Message) (MimeTypeInfo, error)
func (MimeTypeInfo) DecodeFromPtr ¶
func (MimeTypeInfo) DecodeFromPtr(p capnp.Ptr) MimeTypeInfo
func (MimeTypeInfo) Extensions ¶
func (s MimeTypeInfo) Extensions() (capnp.TextList, error)
func (MimeTypeInfo) HasExtensions ¶
func (s MimeTypeInfo) HasExtensions() bool
func (MimeTypeInfo) HasName ¶
func (s MimeTypeInfo) HasName() bool
func (MimeTypeInfo) IsValid ¶
func (s MimeTypeInfo) IsValid() bool
func (MimeTypeInfo) Message ¶
func (s MimeTypeInfo) Message() *capnp.Message
func (MimeTypeInfo) Name ¶
func (s MimeTypeInfo) Name() (string, error)
func (MimeTypeInfo) NameBytes ¶
func (s MimeTypeInfo) NameBytes() ([]byte, error)
func (MimeTypeInfo) NewExtensions ¶
func (s MimeTypeInfo) NewExtensions(n int32) (capnp.TextList, error)
NewExtensions sets the extensions field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (MimeTypeInfo) Segment ¶
func (s MimeTypeInfo) Segment() *capnp.Segment
func (MimeTypeInfo) SetExtensions ¶
func (s MimeTypeInfo) SetExtensions(v capnp.TextList) error
func (MimeTypeInfo) SetName ¶
func (s MimeTypeInfo) SetName(v string) error
func (MimeTypeInfo) String ¶
func (s MimeTypeInfo) String() string
func (MimeTypeInfo) ToPtr ¶
func (s MimeTypeInfo) ToPtr() capnp.Ptr
type MimeTypeInfo_Future ¶
MimeTypeInfo_Future is a wrapper for a MimeTypeInfo promised by a client call.
func (MimeTypeInfo_Future) Struct ¶
func (f MimeTypeInfo_Future) Struct() (MimeTypeInfo, error)
type MimeTypeInfo_List ¶
type MimeTypeInfo_List = capnp.StructList[MimeTypeInfo]
MimeTypeInfo_List is a list of MimeTypeInfo.
Click to show internal directories.
Click to hide internal directories.