capnp-0.4.0.0: Cap'n Proto for Haskell

Safe HaskellNone
LanguageHaskell2010

Capnp.Gen.Capnp.Persistent

Documentation

newtype Persistent msg Source #

Constructors

Persistent'newtype_ (Maybe (Cap msg)) 
Instances
ToPtr s (Persistent (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toPtr :: WriteCtx m s => MutMsg s -> Persistent (MutMsg s) -> m (Maybe (Ptr (MutMsg s))) Source #

FromPtr msg (Persistent msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

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

newtype Persistent'SaveParams msg Source #

Instances
TraverseMsg Persistent'SaveParams Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

tMsg :: Applicative m => (msgA -> m msgB) -> Persistent'SaveParams msgA -> m (Persistent'SaveParams msgB) Source #

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

Defined in Capnp.Gen.Capnp.Persistent

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

Defined in Capnp.Gen.Capnp.Persistent

Methods

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

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

Defined in Capnp.Gen.Capnp.Persistent

Methods

toPtr :: WriteCtx m s => MutMsg s -> Persistent'SaveParams (MutMsg s) -> m (Maybe (Ptr (MutMsg s))) Source #

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

Defined in Capnp.Gen.Capnp.Persistent

Methods

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

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

Defined in Capnp.Gen.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.Gen.Capnp.Persistent

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

Defined in Capnp.Gen.Capnp.Persistent

Associated Types

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

Methods

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

toUntypedList :: List msg (Persistent'SaveParams msg) -> List msg Source #

length :: List msg (Persistent'SaveParams msg) -> Int Source #

index :: ReadCtx m msg => Int -> List msg (Persistent'SaveParams msg) -> m (Persistent'SaveParams msg) Source #

MessageDefault (Persistent'SaveParams msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

HasMessage (Persistent'SaveParams msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Associated Types

type InMessage (Persistent'SaveParams msg) :: Type Source #

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

Defined in Capnp.Gen.Capnp.Persistent

type InMessage (Persistent'SaveParams msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

newtype Persistent'SaveResults msg Source #

Instances
TraverseMsg Persistent'SaveResults Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

tMsg :: Applicative m => (msgA -> m msgB) -> Persistent'SaveResults msgA -> m (Persistent'SaveResults msgB) Source #

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

Defined in Capnp.Gen.Capnp.Persistent

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

Defined in Capnp.Gen.Capnp.Persistent

Methods

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

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

Defined in Capnp.Gen.Capnp.Persistent

Methods

toPtr :: WriteCtx m s => MutMsg s -> Persistent'SaveResults (MutMsg s) -> m (Maybe (Ptr (MutMsg s))) Source #

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

Defined in Capnp.Gen.Capnp.Persistent

Methods

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

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

Defined in Capnp.Gen.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.Gen.Capnp.Persistent

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

Defined in Capnp.Gen.Capnp.Persistent

Associated Types

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

MessageDefault (Persistent'SaveResults msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

HasMessage (Persistent'SaveResults msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Associated Types

type InMessage (Persistent'SaveResults msg) :: Type Source #

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

Defined in Capnp.Gen.Capnp.Persistent

type InMessage (Persistent'SaveResults msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

newtype RealmGateway msg Source #

Constructors

RealmGateway'newtype_ (Maybe (Cap msg)) 
Instances
ToPtr s (RealmGateway (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toPtr :: WriteCtx m s => MutMsg s -> RealmGateway (MutMsg s) -> m (Maybe (Ptr (MutMsg s))) Source #

FromPtr msg (RealmGateway msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromPtr :: ReadCtx m msg => msg -> Maybe (Ptr msg) -> m (RealmGateway msg) Source #

newtype RealmGateway'import'params msg Source #

Instances
TraverseMsg RealmGateway'import'params Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

tMsg :: Applicative m => (msgA -> m msgB) -> RealmGateway'import'params msgA -> m (RealmGateway'import'params msgB) Source #

ToStruct msg (RealmGateway'import'params msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

FromStruct msg (RealmGateway'import'params msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromStruct :: ReadCtx m msg => Struct msg -> m (RealmGateway'import'params msg) Source #

ToPtr s (RealmGateway'import'params (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toPtr :: WriteCtx m s => MutMsg s -> RealmGateway'import'params (MutMsg s) -> m (Maybe (Ptr (MutMsg s))) Source #

FromPtr msg (RealmGateway'import'params msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromPtr :: ReadCtx m msg => msg -> Maybe (Ptr msg) -> m (RealmGateway'import'params msg) Source #

Allocate s (RealmGateway'import'params (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

MutListElem s (RealmGateway'import'params (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

ListElem msg (RealmGateway'import'params msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Associated Types

data List msg (RealmGateway'import'params msg) :: Type Source #

MessageDefault (RealmGateway'import'params msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

HasMessage (RealmGateway'import'params msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Associated Types

type InMessage (RealmGateway'import'params msg) :: Type Source #

newtype List msg (RealmGateway'import'params msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

type InMessage (RealmGateway'import'params msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

newtype RealmGateway'export'params msg Source #

Instances
TraverseMsg RealmGateway'export'params Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

tMsg :: Applicative m => (msgA -> m msgB) -> RealmGateway'export'params msgA -> m (RealmGateway'export'params msgB) Source #

ToStruct msg (RealmGateway'export'params msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

FromStruct msg (RealmGateway'export'params msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromStruct :: ReadCtx m msg => Struct msg -> m (RealmGateway'export'params msg) Source #

ToPtr s (RealmGateway'export'params (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toPtr :: WriteCtx m s => MutMsg s -> RealmGateway'export'params (MutMsg s) -> m (Maybe (Ptr (MutMsg s))) Source #

FromPtr msg (RealmGateway'export'params msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromPtr :: ReadCtx m msg => msg -> Maybe (Ptr msg) -> m (RealmGateway'export'params msg) Source #

Allocate s (RealmGateway'export'params (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

MutListElem s (RealmGateway'export'params (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

ListElem msg (RealmGateway'export'params msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Associated Types

data List msg (RealmGateway'export'params msg) :: Type Source #

MessageDefault (RealmGateway'export'params msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

HasMessage (RealmGateway'export'params msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Associated Types

type InMessage (RealmGateway'export'params msg) :: Type Source #

newtype List msg (RealmGateway'export'params msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

type InMessage (RealmGateway'export'params msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent