Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Message'newtype_ (Struct msg) |
Instances
ToStruct msg (Message msg) Source # | |
FromStruct msg (Message msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
ToPtr s (Message ('Mut s)) Source # | |
FromPtr msg (Message msg) Source # | |
Allocate s (Message ('Mut s)) Source # | |
MutListElem s (Message ('Mut s)) Source # | |
ListElem mut (Message mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
MessageDefault (Message mut) mut Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
HasMessage (Message mut) mut Source # | |
newtype List mut (Message mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc |
data Message' (mut :: Mutability) Source #
Message'unimplemented (Message mut) | |
Message'abort (Exception mut) | |
Message'call (Call mut) | |
Message'return (Return mut) | |
Message'finish (Finish mut) | |
Message'resolve (Resolve mut) | |
Message'release (Release mut) | |
Message'obsoleteSave (Maybe (Ptr mut)) | |
Message'bootstrap (Bootstrap mut) | |
Message'obsoleteDelete (Maybe (Ptr mut)) | |
Message'provide (Provide mut) | |
Message'accept (Accept mut) | |
Message'join (Join mut) | |
Message'disembargo (Disembargo mut) | |
Message'unknown' Word16 |
Instances
FromStruct mut (Message' mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc |
get_Message' :: (ReadCtx m msg, FromStruct msg (Message' msg)) => Message msg -> m (Message' msg) Source #
set_Message'unimplemented :: (RWCtx m s, ToPtr s (Message (Mut s))) => Message (Mut s) -> Message (Mut s) -> m () Source #
set_Message'abort :: (RWCtx m s, ToPtr s (Exception (Mut s))) => Message (Mut s) -> Exception (Mut s) -> m () Source #
set_Message'call :: (RWCtx m s, ToPtr s (Call (Mut s))) => Message (Mut s) -> Call (Mut s) -> m () Source #
set_Message'return :: (RWCtx m s, ToPtr s (Return (Mut s))) => Message (Mut s) -> Return (Mut s) -> m () Source #
set_Message'finish :: (RWCtx m s, ToPtr s (Finish (Mut s))) => Message (Mut s) -> Finish (Mut s) -> m () Source #
set_Message'resolve :: (RWCtx m s, ToPtr s (Resolve (Mut s))) => Message (Mut s) -> Resolve (Mut s) -> m () Source #
set_Message'release :: (RWCtx m s, ToPtr s (Release (Mut s))) => Message (Mut s) -> Release (Mut s) -> m () Source #
set_Message'obsoleteSave :: (RWCtx m s, ToPtr s (Maybe (Ptr (Mut s)))) => Message (Mut s) -> Maybe (Ptr (Mut s)) -> m () Source #
set_Message'bootstrap :: (RWCtx m s, ToPtr s (Bootstrap (Mut s))) => Message (Mut s) -> Bootstrap (Mut s) -> m () Source #
set_Message'obsoleteDelete :: (RWCtx m s, ToPtr s (Maybe (Ptr (Mut s)))) => Message (Mut s) -> Maybe (Ptr (Mut s)) -> m () Source #
set_Message'provide :: (RWCtx m s, ToPtr s (Provide (Mut s))) => Message (Mut s) -> Provide (Mut s) -> m () Source #
set_Message'accept :: (RWCtx m s, ToPtr s (Accept (Mut s))) => Message (Mut s) -> Accept (Mut s) -> m () Source #
set_Message'join :: (RWCtx m s, ToPtr s (Join (Mut s))) => Message (Mut s) -> Join (Mut s) -> m () Source #
set_Message'disembargo :: (RWCtx m s, ToPtr s (Disembargo (Mut s))) => Message (Mut s) -> Disembargo (Mut s) -> m () Source #
newtype Bootstrap msg Source #
Bootstrap'newtype_ (Struct msg) |
Instances
ToStruct msg (Bootstrap msg) Source # | |
FromStruct msg (Bootstrap msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
ToPtr s (Bootstrap ('Mut s)) Source # | |
FromPtr msg (Bootstrap msg) Source # | |
Allocate s (Bootstrap ('Mut s)) Source # | |
MutListElem s (Bootstrap ('Mut s)) Source # | |
ListElem mut (Bootstrap mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc listFromPtr :: ReadCtx m mut => Message mut -> Maybe (Ptr mut) -> m (List mut (Bootstrap mut)) Source # toUntypedList :: List mut (Bootstrap mut) -> List mut Source # length :: List mut (Bootstrap mut) -> Int Source # index :: ReadCtx m mut => Int -> List mut (Bootstrap mut) -> m (Bootstrap mut) Source # | |
MessageDefault (Bootstrap mut) mut Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
HasMessage (Bootstrap mut) mut Source # | |
newtype List mut (Bootstrap mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc |
get_Bootstrap'deprecatedObjectId :: (ReadCtx m msg, FromPtr msg (Maybe (Ptr msg))) => Bootstrap msg -> m (Maybe (Ptr msg)) Source #
set_Bootstrap'deprecatedObjectId :: (RWCtx m s, ToPtr s (Maybe (Ptr (Mut s)))) => Bootstrap (Mut s) -> Maybe (Ptr (Mut s)) -> m () Source #
Call'newtype_ (Struct msg) |
Instances
ToStruct msg (Call msg) Source # | |
FromStruct msg (Call msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
ToPtr s (Call ('Mut s)) Source # | |
FromPtr msg (Call msg) Source # | |
Allocate s (Call ('Mut s)) Source # | |
MutListElem s (Call ('Mut s)) Source # | |
ListElem mut (Call mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
MessageDefault (Call mut) mut Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
HasMessage (Call mut) mut Source # | |
newtype List mut (Call mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc |
get_Call'target :: (ReadCtx m msg, FromPtr msg (MessageTarget msg)) => Call msg -> m (MessageTarget msg) Source #
set_Call'target :: (RWCtx m s, ToPtr s (MessageTarget (Mut s))) => Call (Mut s) -> MessageTarget (Mut s) -> m () Source #
new_Call'target :: RWCtx m s => Call (Mut s) -> m (MessageTarget (Mut s)) Source #
get_Call'params :: (ReadCtx m msg, FromPtr msg (Payload msg)) => Call msg -> m (Payload msg) Source #
set_Call'params :: (RWCtx m s, ToPtr s (Payload (Mut s))) => Call (Mut s) -> Payload (Mut s) -> m () Source #
get_Call'sendResultsTo :: (ReadCtx m msg, FromStruct msg (Call'sendResultsTo msg)) => Call msg -> m (Call'sendResultsTo msg) Source #
newtype Call'sendResultsTo msg Source #
Instances
ToStruct msg (Call'sendResultsTo msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc toStruct :: Call'sendResultsTo msg -> Struct msg Source # | |
FromStruct msg (Call'sendResultsTo msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc fromStruct :: ReadCtx m msg => Struct msg -> m (Call'sendResultsTo msg) Source # | |
MessageDefault (Call'sendResultsTo mut) mut Source # | |
Defined in Capnp.Gen.Capnp.Rpc messageDefault :: ReadCtx m mut => Message mut -> m (Call'sendResultsTo mut) Source # | |
HasMessage (Call'sendResultsTo mut) mut Source # | |
Defined in Capnp.Gen.Capnp.Rpc message :: Call'sendResultsTo mut -> Message mut Source # |
data Call'sendResultsTo' (mut :: Mutability) Source #
Call'sendResultsTo'caller | |
Call'sendResultsTo'yourself | |
Call'sendResultsTo'thirdParty (Maybe (Ptr mut)) | |
Call'sendResultsTo'unknown' Word16 |
Instances
FromStruct mut (Call'sendResultsTo' mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc fromStruct :: ReadCtx m mut => Struct mut -> m (Call'sendResultsTo' mut) Source # |
get_Call'sendResultsTo' :: (ReadCtx m msg, FromStruct msg (Call'sendResultsTo' msg)) => Call'sendResultsTo msg -> m (Call'sendResultsTo' msg) Source #
set_Call'sendResultsTo'caller :: RWCtx m s => Call'sendResultsTo (Mut s) -> m () Source #
set_Call'sendResultsTo'yourself :: RWCtx m s => Call'sendResultsTo (Mut s) -> m () Source #
set_Call'sendResultsTo'thirdParty :: (RWCtx m s, ToPtr s (Maybe (Ptr (Mut s)))) => Call'sendResultsTo (Mut s) -> Maybe (Ptr (Mut s)) -> m () Source #
set_Call'sendResultsTo'unknown' :: RWCtx m s => Call'sendResultsTo (Mut s) -> Word16 -> m () Source #
Return'newtype_ (Struct msg) |
Instances
ToStruct msg (Return msg) Source # | |
FromStruct msg (Return msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
ToPtr s (Return ('Mut s)) Source # | |
FromPtr msg (Return msg) Source # | |
Allocate s (Return ('Mut s)) Source # | |
MutListElem s (Return ('Mut s)) Source # | |
ListElem mut (Return mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
MessageDefault (Return mut) mut Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
HasMessage (Return mut) mut Source # | |
newtype List mut (Return mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc |
data Return' (mut :: Mutability) Source #
Instances
FromStruct mut (Return' mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc |
get_Return' :: (ReadCtx m msg, FromStruct msg (Return' msg)) => Return msg -> m (Return' msg) Source #
set_Return'results :: (RWCtx m s, ToPtr s (Payload (Mut s))) => Return (Mut s) -> Payload (Mut s) -> m () Source #
set_Return'exception :: (RWCtx m s, ToPtr s (Exception (Mut s))) => Return (Mut s) -> Exception (Mut s) -> m () Source #
set_Return'acceptFromThirdParty :: (RWCtx m s, ToPtr s (Maybe (Ptr (Mut s)))) => Return (Mut s) -> Maybe (Ptr (Mut s)) -> m () Source #
Finish'newtype_ (Struct msg) |
Instances
ToStruct msg (Finish msg) Source # | |
FromStruct msg (Finish msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
ToPtr s (Finish ('Mut s)) Source # | |
FromPtr msg (Finish msg) Source # | |
Allocate s (Finish ('Mut s)) Source # | |
MutListElem s (Finish ('Mut s)) Source # | |
ListElem mut (Finish mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
MessageDefault (Finish mut) mut Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
HasMessage (Finish mut) mut Source # | |
newtype List mut (Finish mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc |
Resolve'newtype_ (Struct msg) |
Instances
ToStruct msg (Resolve msg) Source # | |
FromStruct msg (Resolve msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
ToPtr s (Resolve ('Mut s)) Source # | |
FromPtr msg (Resolve msg) Source # | |
Allocate s (Resolve ('Mut s)) Source # | |
MutListElem s (Resolve ('Mut s)) Source # | |
ListElem mut (Resolve mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
MessageDefault (Resolve mut) mut Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
HasMessage (Resolve mut) mut Source # | |
newtype List mut (Resolve mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc |
data Resolve' (mut :: Mutability) Source #
Instances
FromStruct mut (Resolve' mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc |
get_Resolve' :: (ReadCtx m msg, FromStruct msg (Resolve' msg)) => Resolve msg -> m (Resolve' msg) Source #
set_Resolve'cap :: (RWCtx m s, ToPtr s (CapDescriptor (Mut s))) => Resolve (Mut s) -> CapDescriptor (Mut s) -> m () Source #
set_Resolve'exception :: (RWCtx m s, ToPtr s (Exception (Mut s))) => Resolve (Mut s) -> Exception (Mut s) -> m () Source #
Release'newtype_ (Struct msg) |
Instances
ToStruct msg (Release msg) Source # | |
FromStruct msg (Release msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
ToPtr s (Release ('Mut s)) Source # | |
FromPtr msg (Release msg) Source # | |
Allocate s (Release ('Mut s)) Source # | |
MutListElem s (Release ('Mut s)) Source # | |
ListElem mut (Release mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
MessageDefault (Release mut) mut Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
HasMessage (Release mut) mut Source # | |
newtype List mut (Release mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc |
newtype Disembargo msg Source #
Disembargo'newtype_ (Struct msg) |
Instances
get_Disembargo'target :: (ReadCtx m msg, FromPtr msg (MessageTarget msg)) => Disembargo msg -> m (MessageTarget msg) Source #
set_Disembargo'target :: (RWCtx m s, ToPtr s (MessageTarget (Mut s))) => Disembargo (Mut s) -> MessageTarget (Mut s) -> m () Source #
has_Disembargo'target :: ReadCtx m msg => Disembargo msg -> m Bool Source #
new_Disembargo'target :: RWCtx m s => Disembargo (Mut s) -> m (MessageTarget (Mut s)) Source #
get_Disembargo'context :: (ReadCtx m msg, FromStruct msg (Disembargo'context msg)) => Disembargo msg -> m (Disembargo'context msg) Source #
newtype Disembargo'context msg Source #
Instances
ToStruct msg (Disembargo'context msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc toStruct :: Disembargo'context msg -> Struct msg Source # | |
FromStruct msg (Disembargo'context msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc fromStruct :: ReadCtx m msg => Struct msg -> m (Disembargo'context msg) Source # | |
MessageDefault (Disembargo'context mut) mut Source # | |
Defined in Capnp.Gen.Capnp.Rpc messageDefault :: ReadCtx m mut => Message mut -> m (Disembargo'context mut) Source # | |
HasMessage (Disembargo'context mut) mut Source # | |
Defined in Capnp.Gen.Capnp.Rpc message :: Disembargo'context mut -> Message mut Source # |
data Disembargo'context' (mut :: Mutability) Source #
Disembargo'context'senderLoopback Word32 | |
Disembargo'context'receiverLoopback Word32 | |
Disembargo'context'accept | |
Disembargo'context'provide Word32 | |
Disembargo'context'unknown' Word16 |
Instances
FromStruct mut (Disembargo'context' mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc fromStruct :: ReadCtx m mut => Struct mut -> m (Disembargo'context' mut) Source # |
get_Disembargo'context' :: (ReadCtx m msg, FromStruct msg (Disembargo'context' msg)) => Disembargo'context msg -> m (Disembargo'context' msg) Source #
set_Disembargo'context'senderLoopback :: RWCtx m s => Disembargo'context (Mut s) -> Word32 -> m () Source #
set_Disembargo'context'receiverLoopback :: RWCtx m s => Disembargo'context (Mut s) -> Word32 -> m () Source #
set_Disembargo'context'accept :: RWCtx m s => Disembargo'context (Mut s) -> m () Source #
set_Disembargo'context'provide :: RWCtx m s => Disembargo'context (Mut s) -> Word32 -> m () Source #
set_Disembargo'context'unknown' :: RWCtx m s => Disembargo'context (Mut s) -> Word16 -> m () Source #
Provide'newtype_ (Struct msg) |
Instances
ToStruct msg (Provide msg) Source # | |
FromStruct msg (Provide msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
ToPtr s (Provide ('Mut s)) Source # | |
FromPtr msg (Provide msg) Source # | |
Allocate s (Provide ('Mut s)) Source # | |
MutListElem s (Provide ('Mut s)) Source # | |
ListElem mut (Provide mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
MessageDefault (Provide mut) mut Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
HasMessage (Provide mut) mut Source # | |
newtype List mut (Provide mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc |
get_Provide'target :: (ReadCtx m msg, FromPtr msg (MessageTarget msg)) => Provide msg -> m (MessageTarget msg) Source #
set_Provide'target :: (RWCtx m s, ToPtr s (MessageTarget (Mut s))) => Provide (Mut s) -> MessageTarget (Mut s) -> m () Source #
new_Provide'target :: RWCtx m s => Provide (Mut s) -> m (MessageTarget (Mut s)) Source #
get_Provide'recipient :: (ReadCtx m msg, FromPtr msg (Maybe (Ptr msg))) => Provide msg -> m (Maybe (Ptr msg)) Source #
set_Provide'recipient :: (RWCtx m s, ToPtr s (Maybe (Ptr (Mut s)))) => Provide (Mut s) -> Maybe (Ptr (Mut s)) -> m () Source #
Accept'newtype_ (Struct msg) |
Instances
ToStruct msg (Accept msg) Source # | |
FromStruct msg (Accept msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
ToPtr s (Accept ('Mut s)) Source # | |
FromPtr msg (Accept msg) Source # | |
Allocate s (Accept ('Mut s)) Source # | |
MutListElem s (Accept ('Mut s)) Source # | |
ListElem mut (Accept mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
MessageDefault (Accept mut) mut Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
HasMessage (Accept mut) mut Source # | |
newtype List mut (Accept mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc |
get_Accept'provision :: (ReadCtx m msg, FromPtr msg (Maybe (Ptr msg))) => Accept msg -> m (Maybe (Ptr msg)) Source #
set_Accept'provision :: (RWCtx m s, ToPtr s (Maybe (Ptr (Mut s)))) => Accept (Mut s) -> Maybe (Ptr (Mut s)) -> m () Source #
Join'newtype_ (Struct msg) |
Instances
ToStruct msg (Join msg) Source # | |
FromStruct msg (Join msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
ToPtr s (Join ('Mut s)) Source # | |
FromPtr msg (Join msg) Source # | |
Allocate s (Join ('Mut s)) Source # | |
MutListElem s (Join ('Mut s)) Source # | |
ListElem mut (Join mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
MessageDefault (Join mut) mut Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
HasMessage (Join mut) mut Source # | |
newtype List mut (Join mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc |
get_Join'target :: (ReadCtx m msg, FromPtr msg (MessageTarget msg)) => Join msg -> m (MessageTarget msg) Source #
set_Join'target :: (RWCtx m s, ToPtr s (MessageTarget (Mut s))) => Join (Mut s) -> MessageTarget (Mut s) -> m () Source #
new_Join'target :: RWCtx m s => Join (Mut s) -> m (MessageTarget (Mut s)) Source #
get_Join'keyPart :: (ReadCtx m msg, FromPtr msg (Maybe (Ptr msg))) => Join msg -> m (Maybe (Ptr msg)) Source #
set_Join'keyPart :: (RWCtx m s, ToPtr s (Maybe (Ptr (Mut s)))) => Join (Mut s) -> Maybe (Ptr (Mut s)) -> m () Source #
newtype MessageTarget msg Source #
MessageTarget'newtype_ (Struct msg) |
Instances
data MessageTarget' (mut :: Mutability) Source #
MessageTarget'importedCap Word32 | |
MessageTarget'promisedAnswer (PromisedAnswer mut) | |
MessageTarget'unknown' Word16 |
Instances
FromStruct mut (MessageTarget' mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc fromStruct :: ReadCtx m mut => Struct mut -> m (MessageTarget' mut) Source # |
get_MessageTarget' :: (ReadCtx m msg, FromStruct msg (MessageTarget' msg)) => MessageTarget msg -> m (MessageTarget' msg) Source #
set_MessageTarget'importedCap :: RWCtx m s => MessageTarget (Mut s) -> Word32 -> m () Source #
set_MessageTarget'promisedAnswer :: (RWCtx m s, ToPtr s (PromisedAnswer (Mut s))) => MessageTarget (Mut s) -> PromisedAnswer (Mut s) -> m () Source #
set_MessageTarget'unknown' :: RWCtx m s => MessageTarget (Mut s) -> Word16 -> m () Source #
Payload'newtype_ (Struct msg) |
Instances
ToStruct msg (Payload msg) Source # | |
FromStruct msg (Payload msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
ToPtr s (Payload ('Mut s)) Source # | |
FromPtr msg (Payload msg) Source # | |
Allocate s (Payload ('Mut s)) Source # | |
MutListElem s (Payload ('Mut s)) Source # | |
ListElem mut (Payload mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
MessageDefault (Payload mut) mut Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
HasMessage (Payload mut) mut Source # | |
newtype List mut (Payload mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc |
get_Payload'content :: (ReadCtx m msg, FromPtr msg (Maybe (Ptr msg))) => Payload msg -> m (Maybe (Ptr msg)) Source #
set_Payload'content :: (RWCtx m s, ToPtr s (Maybe (Ptr (Mut s)))) => Payload (Mut s) -> Maybe (Ptr (Mut s)) -> m () Source #
get_Payload'capTable :: (ReadCtx m msg, FromPtr msg (List msg (CapDescriptor msg))) => Payload msg -> m (List msg (CapDescriptor msg)) Source #
set_Payload'capTable :: (RWCtx m s, ToPtr s (List (Mut s) (CapDescriptor (Mut s)))) => Payload (Mut s) -> List (Mut s) (CapDescriptor (Mut s)) -> m () Source #
new_Payload'capTable :: RWCtx m s => Int -> Payload (Mut s) -> m (List (Mut s) (CapDescriptor (Mut s))) Source #
newtype CapDescriptor msg Source #
CapDescriptor'newtype_ (Struct msg) |
Instances
get_CapDescriptor'attachedFd :: ReadCtx m msg => CapDescriptor msg -> m Word8 Source #
set_CapDescriptor'attachedFd :: RWCtx m s => CapDescriptor (Mut s) -> Word8 -> m () Source #
data CapDescriptor' (mut :: Mutability) Source #
Instances
FromStruct mut (CapDescriptor' mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc fromStruct :: ReadCtx m mut => Struct mut -> m (CapDescriptor' mut) Source # |
get_CapDescriptor' :: (ReadCtx m msg, FromStruct msg (CapDescriptor' msg)) => CapDescriptor msg -> m (CapDescriptor' msg) Source #
set_CapDescriptor'none :: RWCtx m s => CapDescriptor (Mut s) -> m () Source #
set_CapDescriptor'senderHosted :: RWCtx m s => CapDescriptor (Mut s) -> Word32 -> m () Source #
set_CapDescriptor'senderPromise :: RWCtx m s => CapDescriptor (Mut s) -> Word32 -> m () Source #
set_CapDescriptor'receiverHosted :: RWCtx m s => CapDescriptor (Mut s) -> Word32 -> m () Source #
set_CapDescriptor'receiverAnswer :: (RWCtx m s, ToPtr s (PromisedAnswer (Mut s))) => CapDescriptor (Mut s) -> PromisedAnswer (Mut s) -> m () Source #
set_CapDescriptor'thirdPartyHosted :: (RWCtx m s, ToPtr s (ThirdPartyCapDescriptor (Mut s))) => CapDescriptor (Mut s) -> ThirdPartyCapDescriptor (Mut s) -> m () Source #
set_CapDescriptor'unknown' :: RWCtx m s => CapDescriptor (Mut s) -> Word16 -> m () Source #
newtype PromisedAnswer msg Source #
Instances
get_PromisedAnswer'questionId :: ReadCtx m msg => PromisedAnswer msg -> m Word32 Source #
set_PromisedAnswer'questionId :: RWCtx m s => PromisedAnswer (Mut s) -> Word32 -> m () Source #
get_PromisedAnswer'transform :: (ReadCtx m msg, FromPtr msg (List msg (PromisedAnswer'Op msg))) => PromisedAnswer msg -> m (List msg (PromisedAnswer'Op msg)) Source #
set_PromisedAnswer'transform :: (RWCtx m s, ToPtr s (List (Mut s) (PromisedAnswer'Op (Mut s)))) => PromisedAnswer (Mut s) -> List (Mut s) (PromisedAnswer'Op (Mut s)) -> m () Source #
has_PromisedAnswer'transform :: ReadCtx m msg => PromisedAnswer msg -> m Bool Source #
new_PromisedAnswer'transform :: RWCtx m s => Int -> PromisedAnswer (Mut s) -> m (List (Mut s) (PromisedAnswer'Op (Mut s))) Source #
newtype PromisedAnswer'Op msg Source #
Instances
data PromisedAnswer'Op' (mut :: Mutability) Source #
Instances
FromStruct mut (PromisedAnswer'Op' mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc fromStruct :: ReadCtx m mut => Struct mut -> m (PromisedAnswer'Op' mut) Source # |
get_PromisedAnswer'Op' :: (ReadCtx m msg, FromStruct msg (PromisedAnswer'Op' msg)) => PromisedAnswer'Op msg -> m (PromisedAnswer'Op' msg) Source #
set_PromisedAnswer'Op'noop :: RWCtx m s => PromisedAnswer'Op (Mut s) -> m () Source #
set_PromisedAnswer'Op'getPointerField :: RWCtx m s => PromisedAnswer'Op (Mut s) -> Word16 -> m () Source #
set_PromisedAnswer'Op'unknown' :: RWCtx m s => PromisedAnswer'Op (Mut s) -> Word16 -> m () Source #
newtype ThirdPartyCapDescriptor msg Source #
Instances
get_ThirdPartyCapDescriptor'id :: (ReadCtx m msg, FromPtr msg (Maybe (Ptr msg))) => ThirdPartyCapDescriptor msg -> m (Maybe (Ptr msg)) Source #
set_ThirdPartyCapDescriptor'id :: (RWCtx m s, ToPtr s (Maybe (Ptr (Mut s)))) => ThirdPartyCapDescriptor (Mut s) -> Maybe (Ptr (Mut s)) -> m () Source #
has_ThirdPartyCapDescriptor'id :: ReadCtx m msg => ThirdPartyCapDescriptor msg -> m Bool Source #
get_ThirdPartyCapDescriptor'vineId :: ReadCtx m msg => ThirdPartyCapDescriptor msg -> m Word32 Source #
set_ThirdPartyCapDescriptor'vineId :: RWCtx m s => ThirdPartyCapDescriptor (Mut s) -> Word32 -> m () Source #
newtype Exception msg Source #
Exception'newtype_ (Struct msg) |
Instances
ToStruct msg (Exception msg) Source # | |
FromStruct msg (Exception msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
ToPtr s (Exception ('Mut s)) Source # | |
FromPtr msg (Exception msg) Source # | |
Allocate s (Exception ('Mut s)) Source # | |
MutListElem s (Exception ('Mut s)) Source # | |
ListElem mut (Exception mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc listFromPtr :: ReadCtx m mut => Message mut -> Maybe (Ptr mut) -> m (List mut (Exception mut)) Source # toUntypedList :: List mut (Exception mut) -> List mut Source # length :: List mut (Exception mut) -> Int Source # index :: ReadCtx m mut => Int -> List mut (Exception mut) -> m (Exception mut) Source # | |
MessageDefault (Exception mut) mut Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
HasMessage (Exception mut) mut Source # | |
newtype List mut (Exception mut) Source # | |
Defined in Capnp.Gen.Capnp.Rpc |
get_Exception'reason :: (ReadCtx m msg, FromPtr msg (Text msg)) => Exception msg -> m (Text msg) Source #
set_Exception'reason :: (RWCtx m s, ToPtr s (Text (Mut s))) => Exception (Mut s) -> Text (Mut s) -> m () Source #
get_Exception'type_ :: ReadCtx m msg => Exception msg -> m Exception'Type Source #
set_Exception'type_ :: RWCtx m s => Exception (Mut s) -> Exception'Type -> m () Source #
data Exception'Type Source #
Exception'Type'failed | |
Exception'Type'overloaded | |
Exception'Type'disconnected | |
Exception'Type'unimplemented | |
Exception'Type'unknown' Word16 |