capnp-0.2.0.0: Cap'n Proto for Haskell

Safe HaskellNone
LanguageHaskell2010

Capnp.Capnp.Persistent

Description

This module is the generated code for capnp/persistent.capnp, for the low-level api.

Documentation

newtype Persistent'SaveParams msg Source #

Instances
ToStruct msg (Persistent'SaveParams msg) Source # 
Instance details

Defined in Capnp.Capnp.Persistent

FromStruct msg (Persistent'SaveParams msg) Source # 
Instance details

Defined in Capnp.Capnp.Persistent

Methods

fromStruct :: ReadCtx m msg => Struct msg -> m (Persistent'SaveParams msg) Source #

IsPtr msg (Persistent'SaveParams msg) Source # 
Instance details

Defined in Capnp.Capnp.Persistent

Methods

fromPtr :: ReadCtx m msg => msg -> Maybe (Ptr msg) -> m (Persistent'SaveParams msg) Source #

toPtr :: Persistent'SaveParams msg -> Maybe (Ptr msg) Source #

Allocate s (Persistent'SaveParams (MutMsg s)) Source # 
Instance details

Defined in Capnp.Capnp.Persistent

Methods

new :: WriteCtx m s => MutMsg s -> m (Persistent'SaveParams (MutMsg s)) Source #

MutListElem s (Persistent'SaveParams (MutMsg s)) Source # 
Instance details

Defined in Capnp.Capnp.Persistent

ListElem msg (Persistent'SaveParams msg) Source # 
Instance details

Defined in Capnp.Capnp.Persistent

Associated Types

data List msg (Persistent'SaveParams msg) :: * Source #

IsPtr msg (List msg (Persistent'SaveParams msg)) Source # 
Instance details

Defined in Capnp.Capnp.Persistent

Methods

fromPtr :: ReadCtx m msg => msg -> Maybe (Ptr msg) -> m (List msg (Persistent'SaveParams msg)) Source #

toPtr :: List msg (Persistent'SaveParams msg) -> Maybe (Ptr msg) Source #

MessageDefault (Persistent'SaveParams msg) msg Source # 
Instance details

Defined in Capnp.Capnp.Persistent

HasMessage (Persistent'SaveParams msg) msg Source # 
Instance details

Defined in Capnp.Capnp.Persistent

Methods

message :: Persistent'SaveParams msg -> msg Source #

data List msg (Persistent'SaveParams msg) Source # 
Instance details

Defined in Capnp.Capnp.Persistent

newtype Persistent'SaveResults msg Source #

Instances
ToStruct msg (Persistent'SaveResults msg) Source # 
Instance details

Defined in Capnp.Capnp.Persistent

FromStruct msg (Persistent'SaveResults msg) Source # 
Instance details

Defined in Capnp.Capnp.Persistent

Methods

fromStruct :: ReadCtx m msg => Struct msg -> m (Persistent'SaveResults msg) Source #

IsPtr msg (Persistent'SaveResults msg) Source # 
Instance details

Defined in Capnp.Capnp.Persistent

Methods

fromPtr :: ReadCtx m msg => msg -> Maybe (Ptr msg) -> m (Persistent'SaveResults msg) Source #

toPtr :: Persistent'SaveResults msg -> Maybe (Ptr msg) Source #

Allocate s (Persistent'SaveResults (MutMsg s)) Source # 
Instance details

Defined in Capnp.Capnp.Persistent

Methods

new :: WriteCtx m s => MutMsg s -> m (Persistent'SaveResults (MutMsg s)) Source #

MutListElem s (Persistent'SaveResults (MutMsg s)) Source # 
Instance details

Defined in Capnp.Capnp.Persistent

ListElem msg (Persistent'SaveResults msg) Source # 
Instance details

Defined in Capnp.Capnp.Persistent

Associated Types

data List msg (Persistent'SaveResults msg) :: * Source #

IsPtr msg (List msg (Persistent'SaveResults msg)) Source # 
Instance details

Defined in Capnp.Capnp.Persistent

Methods

fromPtr :: ReadCtx m msg => msg -> Maybe (Ptr msg) -> m (List msg (Persistent'SaveResults msg)) Source #

toPtr :: List msg (Persistent'SaveResults msg) -> Maybe (Ptr msg) Source #

MessageDefault (Persistent'SaveResults msg) msg Source # 
Instance details

Defined in Capnp.Capnp.Persistent

HasMessage (Persistent'SaveResults msg) msg Source # 
Instance details

Defined in Capnp.Capnp.Persistent

Methods

message :: Persistent'SaveResults msg -> msg Source #

data List msg (Persistent'SaveResults msg) Source # 
Instance details

Defined in Capnp.Capnp.Persistent