capnp-0.2.0.0: Cap'n Proto for Haskell

Safe HaskellNone
LanguageHaskell2010

Capnp.Capnp.RpcTwoparty.Pure

Description

This module is the generated code for capnp/rpc-twoparty.capnp, for the high-level api.

Documentation

data JoinKeyPart Source #

Constructors

JoinKeyPart 
Instances
Eq JoinKeyPart Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Read JoinKeyPart Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Show JoinKeyPart Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Generic JoinKeyPart Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Associated Types

type Rep JoinKeyPart :: * -> * #

Default JoinKeyPart Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Methods

def :: JoinKeyPart #

Marshal JoinKeyPart Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Methods

marshalInto :: RWCtx m s => Cerial (MutMsg s) JoinKeyPart -> JoinKeyPart -> m () Source #

Decerialize JoinKeyPart Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Associated Types

type Cerial msg JoinKeyPart :: * Source #

FromStruct ConstMsg JoinKeyPart Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Cerialize s JoinKeyPart Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Methods

cerialize :: RWCtx m s => MutMsg s -> JoinKeyPart -> m (Cerial (MutMsg s) JoinKeyPart) Source #

type Rep JoinKeyPart Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

type Rep JoinKeyPart = D1 (MetaData "JoinKeyPart" "Capnp.Capnp.RpcTwoparty.Pure" "capnp-0.2.0.0-GVlOuXtocAy6sjd7SXWbQY" False) (C1 (MetaCons "JoinKeyPart" PrefixI True) (S1 (MetaSel (Just "joinId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Word32) :*: (S1 (MetaSel (Just "partCount") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Word16) :*: S1 (MetaSel (Just "partNum") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Word16))))
type Cerial msg JoinKeyPart Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

data JoinResult Source #

Constructors

JoinResult 
Instances
Eq JoinResult Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Read JoinResult Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Show JoinResult Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Generic JoinResult Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Associated Types

type Rep JoinResult :: * -> * #

Default JoinResult Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Methods

def :: JoinResult #

Marshal JoinResult Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Methods

marshalInto :: RWCtx m s => Cerial (MutMsg s) JoinResult -> JoinResult -> m () Source #

Decerialize JoinResult Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Associated Types

type Cerial msg JoinResult :: * Source #

FromStruct ConstMsg JoinResult Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Cerialize s JoinResult Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Methods

cerialize :: RWCtx m s => MutMsg s -> JoinResult -> m (Cerial (MutMsg s) JoinResult) Source #

type Rep JoinResult Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

type Rep JoinResult = D1 (MetaData "JoinResult" "Capnp.Capnp.RpcTwoparty.Pure" "capnp-0.2.0.0-GVlOuXtocAy6sjd7SXWbQY" False) (C1 (MetaCons "JoinResult" PrefixI True) (S1 (MetaSel (Just "joinId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Word32) :*: (S1 (MetaSel (Just "succeeded") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool) :*: S1 (MetaSel (Just "cap") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe PtrType)))))
type Cerial msg JoinResult Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

data ProvisionId Source #

Constructors

ProvisionId 

Fields

Instances
Eq ProvisionId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Read ProvisionId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Show ProvisionId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Generic ProvisionId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Associated Types

type Rep ProvisionId :: * -> * #

Default ProvisionId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Methods

def :: ProvisionId #

Marshal ProvisionId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Methods

marshalInto :: RWCtx m s => Cerial (MutMsg s) ProvisionId -> ProvisionId -> m () Source #

Decerialize ProvisionId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Associated Types

type Cerial msg ProvisionId :: * Source #

FromStruct ConstMsg ProvisionId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Cerialize s ProvisionId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Methods

cerialize :: RWCtx m s => MutMsg s -> ProvisionId -> m (Cerial (MutMsg s) ProvisionId) Source #

type Rep ProvisionId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

type Rep ProvisionId = D1 (MetaData "ProvisionId" "Capnp.Capnp.RpcTwoparty.Pure" "capnp-0.2.0.0-GVlOuXtocAy6sjd7SXWbQY" False) (C1 (MetaCons "ProvisionId" PrefixI True) (S1 (MetaSel (Just "joinId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Word32)))
type Cerial msg ProvisionId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

data Side Source #

Instances
Enum Side Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty

Methods

succ :: Side -> Side #

pred :: Side -> Side #

toEnum :: Int -> Side #

fromEnum :: Side -> Int #

enumFrom :: Side -> [Side] #

enumFromThen :: Side -> Side -> [Side] #

enumFromTo :: Side -> Side -> [Side] #

enumFromThenTo :: Side -> Side -> Side -> [Side] #

Eq Side Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty

Methods

(==) :: Side -> Side -> Bool #

(/=) :: Side -> Side -> Bool #

Read Side Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty

Show Side Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty

Methods

showsPrec :: Int -> Side -> ShowS #

show :: Side -> String #

showList :: [Side] -> ShowS #

Generic Side Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty

Associated Types

type Rep Side :: * -> * #

Methods

from :: Side -> Rep Side x #

to :: Rep Side x -> Side #

IsWord Side Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty

MutListElem s Side Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty

Methods

setIndex :: RWCtx m s => Side -> Int -> List (MutMsg s) Side -> m () Source #

newList :: WriteCtx m s => MutMsg s -> Int -> m (List (MutMsg s) Side) Source #

ListElem msg Side Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty

Associated Types

data List msg Side :: * Source #

Methods

length :: List msg Side -> Int Source #

index :: ReadCtx m msg => Int -> List msg Side -> m Side Source #

IsPtr msg (List msg Side) Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty

Methods

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

toPtr :: List msg Side -> Maybe (Ptr msg) Source #

type Rep Side Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty

type Rep Side = D1 (MetaData "Side" "Capnp.Capnp.RpcTwoparty" "capnp-0.2.0.0-GVlOuXtocAy6sjd7SXWbQY" False) (C1 (MetaCons "Side'server" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "Side'client" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Side'unknown'" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Word16))))
data List msg Side Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty

data List msg Side = List_Side (ListOf msg Word16)

data VatId Source #

Constructors

VatId 

Fields

Instances
Eq VatId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Methods

(==) :: VatId -> VatId -> Bool #

(/=) :: VatId -> VatId -> Bool #

Read VatId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Show VatId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Methods

showsPrec :: Int -> VatId -> ShowS #

show :: VatId -> String #

showList :: [VatId] -> ShowS #

Generic VatId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Associated Types

type Rep VatId :: * -> * #

Methods

from :: VatId -> Rep VatId x #

to :: Rep VatId x -> VatId #

Default VatId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Methods

def :: VatId #

Marshal VatId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Methods

marshalInto :: RWCtx m s => Cerial (MutMsg s) VatId -> VatId -> m () Source #

Decerialize VatId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Associated Types

type Cerial msg VatId :: * Source #

FromStruct ConstMsg VatId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Cerialize s VatId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

Methods

cerialize :: RWCtx m s => MutMsg s -> VatId -> m (Cerial (MutMsg s) VatId) Source #

type Rep VatId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

type Rep VatId = D1 (MetaData "VatId" "Capnp.Capnp.RpcTwoparty.Pure" "capnp-0.2.0.0-GVlOuXtocAy6sjd7SXWbQY" False) (C1 (MetaCons "VatId" PrefixI True) (S1 (MetaSel (Just "side") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Side)))
type Cerial msg VatId Source # 
Instance details

Defined in Capnp.Capnp.RpcTwoparty.Pure

type Cerial msg VatId = VatId msg