| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Capnp.Gen.Capnp.Rpc
Documentation
Constructors
| Message'newtype_ (Struct msg) |
Instances
| ToStruct msg (Message msg) Source # | |
| FromStruct msg (Message msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| ToPtr s (Message (MutMsg s)) Source # | |
| FromPtr msg (Message msg) Source # | |
| Allocate s (Message (MutMsg s)) Source # | |
| MutListElem s (Message (MutMsg s)) Source # | |
| ListElem msg (Message msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| MessageDefault (Message msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| HasMessage (Message msg) Source # | |
| newtype List msg (Message msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| type InMessage (Message msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
Constructors
| Message'unimplemented (Message msg) | |
| Message'abort (Exception msg) | |
| Message'call (Call msg) | |
| Message'return (Return msg) | |
| Message'finish (Finish msg) | |
| Message'resolve (Resolve msg) | |
| Message'release (Release msg) | |
| Message'obsoleteSave (Maybe (Ptr msg)) | |
| Message'bootstrap (Bootstrap msg) | |
| Message'obsoleteDelete (Maybe (Ptr msg)) | |
| Message'provide (Provide msg) | |
| Message'accept (Accept msg) | |
| Message'join (Join msg) | |
| Message'disembargo (Disembargo msg) | |
| Message'unknown' Word16 |
Instances
| FromStruct msg (Message' msg) 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 (MutMsg s))) => Message (MutMsg s) -> Message (MutMsg s) -> m () Source #
set_Message'abort :: (RWCtx m s, ToPtr s (Exception (MutMsg s))) => Message (MutMsg s) -> Exception (MutMsg s) -> m () Source #
set_Message'call :: (RWCtx m s, ToPtr s (Call (MutMsg s))) => Message (MutMsg s) -> Call (MutMsg s) -> m () Source #
set_Message'return :: (RWCtx m s, ToPtr s (Return (MutMsg s))) => Message (MutMsg s) -> Return (MutMsg s) -> m () Source #
set_Message'finish :: (RWCtx m s, ToPtr s (Finish (MutMsg s))) => Message (MutMsg s) -> Finish (MutMsg s) -> m () Source #
set_Message'resolve :: (RWCtx m s, ToPtr s (Resolve (MutMsg s))) => Message (MutMsg s) -> Resolve (MutMsg s) -> m () Source #
set_Message'release :: (RWCtx m s, ToPtr s (Release (MutMsg s))) => Message (MutMsg s) -> Release (MutMsg s) -> m () Source #
set_Message'obsoleteSave :: (RWCtx m s, ToPtr s (Maybe (Ptr (MutMsg s)))) => Message (MutMsg s) -> Maybe (Ptr (MutMsg s)) -> m () Source #
set_Message'bootstrap :: (RWCtx m s, ToPtr s (Bootstrap (MutMsg s))) => Message (MutMsg s) -> Bootstrap (MutMsg s) -> m () Source #
set_Message'obsoleteDelete :: (RWCtx m s, ToPtr s (Maybe (Ptr (MutMsg s)))) => Message (MutMsg s) -> Maybe (Ptr (MutMsg s)) -> m () Source #
set_Message'provide :: (RWCtx m s, ToPtr s (Provide (MutMsg s))) => Message (MutMsg s) -> Provide (MutMsg s) -> m () Source #
set_Message'accept :: (RWCtx m s, ToPtr s (Accept (MutMsg s))) => Message (MutMsg s) -> Accept (MutMsg s) -> m () Source #
set_Message'join :: (RWCtx m s, ToPtr s (Join (MutMsg s))) => Message (MutMsg s) -> Join (MutMsg s) -> m () Source #
set_Message'disembargo :: (RWCtx m s, ToPtr s (Disembargo (MutMsg s))) => Message (MutMsg s) -> Disembargo (MutMsg s) -> m () Source #
newtype Bootstrap msg Source #
Constructors
| Bootstrap'newtype_ (Struct msg) |
Instances
| ToStruct msg (Bootstrap msg) Source # | |
| FromStruct msg (Bootstrap msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| ToPtr s (Bootstrap (MutMsg s)) Source # | |
| FromPtr msg (Bootstrap msg) Source # | |
| Allocate s (Bootstrap (MutMsg s)) Source # | |
| MutListElem s (Bootstrap (MutMsg s)) Source # | |
| ListElem msg (Bootstrap msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc Methods listFromPtr :: ReadCtx m msg => msg -> Maybe (Ptr msg) -> m (List msg (Bootstrap msg)) Source # toUntypedList :: List msg (Bootstrap msg) -> List msg Source # length :: List msg (Bootstrap msg) -> Int Source # index :: ReadCtx m msg => Int -> List msg (Bootstrap msg) -> m (Bootstrap msg) Source # | |
| MessageDefault (Bootstrap msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| HasMessage (Bootstrap msg) Source # | |
| newtype List msg (Bootstrap msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| type InMessage (Bootstrap msg) 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 (MutMsg s)))) => Bootstrap (MutMsg s) -> Maybe (Ptr (MutMsg s)) -> m () Source #
Constructors
| Call'newtype_ (Struct msg) |
Instances
| ToStruct msg (Call msg) Source # | |
| FromStruct msg (Call msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| ToPtr s (Call (MutMsg s)) Source # | |
| FromPtr msg (Call msg) Source # | |
| Allocate s (Call (MutMsg s)) Source # | |
| MutListElem s (Call (MutMsg s)) Source # | |
| ListElem msg (Call msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| MessageDefault (Call msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| HasMessage (Call msg) Source # | |
| newtype List msg (Call msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| type InMessage (Call msg) 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 (MutMsg s))) => Call (MutMsg s) -> MessageTarget (MutMsg s) -> m () Source #
new_Call'target :: RWCtx m s => Call (MutMsg s) -> m (MessageTarget (MutMsg 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 (MutMsg s))) => Call (MutMsg s) -> Payload (MutMsg 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 #
Constructors
| Call'sendResultsTo'newtype_ (Struct msg) |
Instances
| ToStruct msg (Call'sendResultsTo msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc Methods toStruct :: Call'sendResultsTo msg -> Struct msg Source # | |
| FromStruct msg (Call'sendResultsTo msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc Methods fromStruct :: ReadCtx m msg => Struct msg -> m (Call'sendResultsTo msg) Source # | |
| MessageDefault (Call'sendResultsTo msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc Methods messageDefault :: InMessage (Call'sendResultsTo msg) -> Call'sendResultsTo msg Source # | |
| HasMessage (Call'sendResultsTo msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc Associated Types type InMessage (Call'sendResultsTo msg) Source # Methods message :: Call'sendResultsTo msg -> InMessage (Call'sendResultsTo msg) Source # | |
| type InMessage (Call'sendResultsTo msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
data Call'sendResultsTo' msg Source #
Constructors
| Call'sendResultsTo'caller | |
| Call'sendResultsTo'yourself | |
| Call'sendResultsTo'thirdParty (Maybe (Ptr msg)) | |
| Call'sendResultsTo'unknown' Word16 |
Instances
| FromStruct msg (Call'sendResultsTo' msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc Methods fromStruct :: ReadCtx m msg => Struct msg -> m (Call'sendResultsTo' msg) 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 (MutMsg s) -> m () Source #
set_Call'sendResultsTo'yourself :: RWCtx m s => Call'sendResultsTo (MutMsg s) -> m () Source #
set_Call'sendResultsTo'thirdParty :: (RWCtx m s, ToPtr s (Maybe (Ptr (MutMsg s)))) => Call'sendResultsTo (MutMsg s) -> Maybe (Ptr (MutMsg s)) -> m () Source #
set_Call'sendResultsTo'unknown' :: RWCtx m s => Call'sendResultsTo (MutMsg s) -> Word16 -> m () Source #
Constructors
| Return'newtype_ (Struct msg) |
Instances
| ToStruct msg (Return msg) Source # | |
| FromStruct msg (Return msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| ToPtr s (Return (MutMsg s)) Source # | |
| FromPtr msg (Return msg) Source # | |
| Allocate s (Return (MutMsg s)) Source # | |
| MutListElem s (Return (MutMsg s)) Source # | |
| ListElem msg (Return msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| MessageDefault (Return msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| HasMessage (Return msg) Source # | |
| newtype List msg (Return msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| type InMessage (Return msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
Constructors
Instances
| FromStruct msg (Return' msg) 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 (MutMsg s))) => Return (MutMsg s) -> Payload (MutMsg s) -> m () Source #
set_Return'exception :: (RWCtx m s, ToPtr s (Exception (MutMsg s))) => Return (MutMsg s) -> Exception (MutMsg s) -> m () Source #
set_Return'acceptFromThirdParty :: (RWCtx m s, ToPtr s (Maybe (Ptr (MutMsg s)))) => Return (MutMsg s) -> Maybe (Ptr (MutMsg s)) -> m () Source #
Constructors
| Finish'newtype_ (Struct msg) |
Instances
| ToStruct msg (Finish msg) Source # | |
| FromStruct msg (Finish msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| ToPtr s (Finish (MutMsg s)) Source # | |
| FromPtr msg (Finish msg) Source # | |
| Allocate s (Finish (MutMsg s)) Source # | |
| MutListElem s (Finish (MutMsg s)) Source # | |
| ListElem msg (Finish msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| MessageDefault (Finish msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| HasMessage (Finish msg) Source # | |
| newtype List msg (Finish msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| type InMessage (Finish msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
Constructors
| Resolve'newtype_ (Struct msg) |
Instances
| ToStruct msg (Resolve msg) Source # | |
| FromStruct msg (Resolve msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| ToPtr s (Resolve (MutMsg s)) Source # | |
| FromPtr msg (Resolve msg) Source # | |
| Allocate s (Resolve (MutMsg s)) Source # | |
| MutListElem s (Resolve (MutMsg s)) Source # | |
| ListElem msg (Resolve msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| MessageDefault (Resolve msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| HasMessage (Resolve msg) Source # | |
| newtype List msg (Resolve msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| type InMessage (Resolve msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
Constructors
| Resolve'cap (CapDescriptor msg) | |
| Resolve'exception (Exception msg) | |
| Resolve'unknown' Word16 |
Instances
| FromStruct msg (Resolve' msg) 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 (MutMsg s))) => Resolve (MutMsg s) -> CapDescriptor (MutMsg s) -> m () Source #
set_Resolve'exception :: (RWCtx m s, ToPtr s (Exception (MutMsg s))) => Resolve (MutMsg s) -> Exception (MutMsg s) -> m () Source #
Constructors
| Release'newtype_ (Struct msg) |
Instances
| ToStruct msg (Release msg) Source # | |
| FromStruct msg (Release msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| ToPtr s (Release (MutMsg s)) Source # | |
| FromPtr msg (Release msg) Source # | |
| Allocate s (Release (MutMsg s)) Source # | |
| MutListElem s (Release (MutMsg s)) Source # | |
| ListElem msg (Release msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| MessageDefault (Release msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| HasMessage (Release msg) Source # | |
| newtype List msg (Release msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| type InMessage (Release msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
newtype Disembargo msg Source #
Constructors
| 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 (MutMsg s))) => Disembargo (MutMsg s) -> MessageTarget (MutMsg s) -> m () Source #
has_Disembargo'target :: ReadCtx m msg => Disembargo msg -> m Bool Source #
new_Disembargo'target :: RWCtx m s => Disembargo (MutMsg s) -> m (MessageTarget (MutMsg 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 #
Constructors
| Disembargo'context'newtype_ (Struct msg) |
Instances
| ToStruct msg (Disembargo'context msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc Methods toStruct :: Disembargo'context msg -> Struct msg Source # | |
| FromStruct msg (Disembargo'context msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc Methods fromStruct :: ReadCtx m msg => Struct msg -> m (Disembargo'context msg) Source # | |
| MessageDefault (Disembargo'context msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc Methods messageDefault :: InMessage (Disembargo'context msg) -> Disembargo'context msg Source # | |
| HasMessage (Disembargo'context msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc Associated Types type InMessage (Disembargo'context msg) Source # Methods message :: Disembargo'context msg -> InMessage (Disembargo'context msg) Source # | |
| type InMessage (Disembargo'context msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
data Disembargo'context' msg Source #
Constructors
| Disembargo'context'senderLoopback Word32 | |
| Disembargo'context'receiverLoopback Word32 | |
| Disembargo'context'accept | |
| Disembargo'context'provide Word32 | |
| Disembargo'context'unknown' Word16 |
Instances
| FromStruct msg (Disembargo'context' msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc Methods fromStruct :: ReadCtx m msg => Struct msg -> m (Disembargo'context' msg) 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 (MutMsg s) -> Word32 -> m () Source #
set_Disembargo'context'receiverLoopback :: RWCtx m s => Disembargo'context (MutMsg s) -> Word32 -> m () Source #
set_Disembargo'context'accept :: RWCtx m s => Disembargo'context (MutMsg s) -> m () Source #
set_Disembargo'context'provide :: RWCtx m s => Disembargo'context (MutMsg s) -> Word32 -> m () Source #
set_Disembargo'context'unknown' :: RWCtx m s => Disembargo'context (MutMsg s) -> Word16 -> m () Source #
Constructors
| Provide'newtype_ (Struct msg) |
Instances
| ToStruct msg (Provide msg) Source # | |
| FromStruct msg (Provide msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| ToPtr s (Provide (MutMsg s)) Source # | |
| FromPtr msg (Provide msg) Source # | |
| Allocate s (Provide (MutMsg s)) Source # | |
| MutListElem s (Provide (MutMsg s)) Source # | |
| ListElem msg (Provide msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| MessageDefault (Provide msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| HasMessage (Provide msg) Source # | |
| newtype List msg (Provide msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| type InMessage (Provide msg) 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 (MutMsg s))) => Provide (MutMsg s) -> MessageTarget (MutMsg s) -> m () Source #
new_Provide'target :: RWCtx m s => Provide (MutMsg s) -> m (MessageTarget (MutMsg 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 (MutMsg s)))) => Provide (MutMsg s) -> Maybe (Ptr (MutMsg s)) -> m () Source #
Constructors
| Accept'newtype_ (Struct msg) |
Instances
| ToStruct msg (Accept msg) Source # | |
| FromStruct msg (Accept msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| ToPtr s (Accept (MutMsg s)) Source # | |
| FromPtr msg (Accept msg) Source # | |
| Allocate s (Accept (MutMsg s)) Source # | |
| MutListElem s (Accept (MutMsg s)) Source # | |
| ListElem msg (Accept msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| MessageDefault (Accept msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| HasMessage (Accept msg) Source # | |
| newtype List msg (Accept msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| type InMessage (Accept msg) 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 (MutMsg s)))) => Accept (MutMsg s) -> Maybe (Ptr (MutMsg s)) -> m () Source #
Constructors
| Join'newtype_ (Struct msg) |
Instances
| ToStruct msg (Join msg) Source # | |
| FromStruct msg (Join msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| ToPtr s (Join (MutMsg s)) Source # | |
| FromPtr msg (Join msg) Source # | |
| Allocate s (Join (MutMsg s)) Source # | |
| MutListElem s (Join (MutMsg s)) Source # | |
| ListElem msg (Join msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| MessageDefault (Join msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| HasMessage (Join msg) Source # | |
| newtype List msg (Join msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| type InMessage (Join msg) 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 (MutMsg s))) => Join (MutMsg s) -> MessageTarget (MutMsg s) -> m () Source #
new_Join'target :: RWCtx m s => Join (MutMsg s) -> m (MessageTarget (MutMsg 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 (MutMsg s)))) => Join (MutMsg s) -> Maybe (Ptr (MutMsg s)) -> m () Source #
newtype MessageTarget msg Source #
Constructors
| MessageTarget'newtype_ (Struct msg) |
Instances
data MessageTarget' msg Source #
Constructors
| MessageTarget'importedCap Word32 | |
| MessageTarget'promisedAnswer (PromisedAnswer msg) | |
| MessageTarget'unknown' Word16 |
Instances
| FromStruct msg (MessageTarget' msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc Methods fromStruct :: ReadCtx m msg => Struct msg -> m (MessageTarget' msg) Source # | |
get_MessageTarget' :: (ReadCtx m msg, FromStruct msg (MessageTarget' msg)) => MessageTarget msg -> m (MessageTarget' msg) Source #
set_MessageTarget'importedCap :: RWCtx m s => MessageTarget (MutMsg s) -> Word32 -> m () Source #
set_MessageTarget'promisedAnswer :: (RWCtx m s, ToPtr s (PromisedAnswer (MutMsg s))) => MessageTarget (MutMsg s) -> PromisedAnswer (MutMsg s) -> m () Source #
set_MessageTarget'unknown' :: RWCtx m s => MessageTarget (MutMsg s) -> Word16 -> m () Source #
Constructors
| Payload'newtype_ (Struct msg) |
Instances
| ToStruct msg (Payload msg) Source # | |
| FromStruct msg (Payload msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| ToPtr s (Payload (MutMsg s)) Source # | |
| FromPtr msg (Payload msg) Source # | |
| Allocate s (Payload (MutMsg s)) Source # | |
| MutListElem s (Payload (MutMsg s)) Source # | |
| ListElem msg (Payload msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| MessageDefault (Payload msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| HasMessage (Payload msg) Source # | |
| newtype List msg (Payload msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| type InMessage (Payload msg) 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 (MutMsg s)))) => Payload (MutMsg s) -> Maybe (Ptr (MutMsg 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 (MutMsg s) (CapDescriptor (MutMsg s)))) => Payload (MutMsg s) -> List (MutMsg s) (CapDescriptor (MutMsg s)) -> m () Source #
new_Payload'capTable :: RWCtx m s => Int -> Payload (MutMsg s) -> m (List (MutMsg s) (CapDescriptor (MutMsg s))) Source #
newtype CapDescriptor msg Source #
Constructors
| CapDescriptor'newtype_ (Struct msg) |
Instances
get_CapDescriptor'attachedFd :: ReadCtx m msg => CapDescriptor msg -> m Word8 Source #
set_CapDescriptor'attachedFd :: RWCtx m s => CapDescriptor (MutMsg s) -> Word8 -> m () Source #
data CapDescriptor' msg Source #
Constructors
Instances
| FromStruct msg (CapDescriptor' msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc Methods fromStruct :: ReadCtx m msg => Struct msg -> m (CapDescriptor' msg) Source # | |
get_CapDescriptor' :: (ReadCtx m msg, FromStruct msg (CapDescriptor' msg)) => CapDescriptor msg -> m (CapDescriptor' msg) Source #
set_CapDescriptor'none :: RWCtx m s => CapDescriptor (MutMsg s) -> m () Source #
set_CapDescriptor'senderHosted :: RWCtx m s => CapDescriptor (MutMsg s) -> Word32 -> m () Source #
set_CapDescriptor'senderPromise :: RWCtx m s => CapDescriptor (MutMsg s) -> Word32 -> m () Source #
set_CapDescriptor'receiverHosted :: RWCtx m s => CapDescriptor (MutMsg s) -> Word32 -> m () Source #
set_CapDescriptor'receiverAnswer :: (RWCtx m s, ToPtr s (PromisedAnswer (MutMsg s))) => CapDescriptor (MutMsg s) -> PromisedAnswer (MutMsg s) -> m () Source #
set_CapDescriptor'thirdPartyHosted :: (RWCtx m s, ToPtr s (ThirdPartyCapDescriptor (MutMsg s))) => CapDescriptor (MutMsg s) -> ThirdPartyCapDescriptor (MutMsg s) -> m () Source #
set_CapDescriptor'unknown' :: RWCtx m s => CapDescriptor (MutMsg s) -> Word16 -> m () Source #
newtype PromisedAnswer msg Source #
Constructors
| PromisedAnswer'newtype_ (Struct msg) |
Instances
get_PromisedAnswer'questionId :: ReadCtx m msg => PromisedAnswer msg -> m Word32 Source #
set_PromisedAnswer'questionId :: RWCtx m s => PromisedAnswer (MutMsg 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 (MutMsg s) (PromisedAnswer'Op (MutMsg s)))) => PromisedAnswer (MutMsg s) -> List (MutMsg s) (PromisedAnswer'Op (MutMsg s)) -> m () Source #
has_PromisedAnswer'transform :: ReadCtx m msg => PromisedAnswer msg -> m Bool Source #
new_PromisedAnswer'transform :: RWCtx m s => Int -> PromisedAnswer (MutMsg s) -> m (List (MutMsg s) (PromisedAnswer'Op (MutMsg s))) Source #
newtype PromisedAnswer'Op msg Source #
Constructors
| PromisedAnswer'Op'newtype_ (Struct msg) |
Instances
data PromisedAnswer'Op' msg Source #
Constructors
| PromisedAnswer'Op'noop | |
| PromisedAnswer'Op'getPointerField Word16 | |
| PromisedAnswer'Op'unknown' Word16 |
Instances
| FromStruct msg (PromisedAnswer'Op' msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc Methods fromStruct :: ReadCtx m msg => Struct msg -> m (PromisedAnswer'Op' msg) 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 (MutMsg s) -> m () Source #
set_PromisedAnswer'Op'getPointerField :: RWCtx m s => PromisedAnswer'Op (MutMsg s) -> Word16 -> m () Source #
set_PromisedAnswer'Op'unknown' :: RWCtx m s => PromisedAnswer'Op (MutMsg s) -> Word16 -> m () Source #
newtype ThirdPartyCapDescriptor msg Source #
Constructors
| ThirdPartyCapDescriptor'newtype_ (Struct msg) |
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 (MutMsg s)))) => ThirdPartyCapDescriptor (MutMsg s) -> Maybe (Ptr (MutMsg 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 (MutMsg s) -> Word32 -> m () Source #
newtype Exception msg Source #
Constructors
| Exception'newtype_ (Struct msg) |
Instances
| ToStruct msg (Exception msg) Source # | |
| FromStruct msg (Exception msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| ToPtr s (Exception (MutMsg s)) Source # | |
| FromPtr msg (Exception msg) Source # | |
| Allocate s (Exception (MutMsg s)) Source # | |
| MutListElem s (Exception (MutMsg s)) Source # | |
| ListElem msg (Exception msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc Methods listFromPtr :: ReadCtx m msg => msg -> Maybe (Ptr msg) -> m (List msg (Exception msg)) Source # toUntypedList :: List msg (Exception msg) -> List msg Source # length :: List msg (Exception msg) -> Int Source # index :: ReadCtx m msg => Int -> List msg (Exception msg) -> m (Exception msg) Source # | |
| MessageDefault (Exception msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| HasMessage (Exception msg) Source # | |
| newtype List msg (Exception msg) Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| type InMessage (Exception msg) 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 (MutMsg s))) => Exception (MutMsg s) -> Text (MutMsg s) -> m () Source #
get_Exception'type_ :: ReadCtx m msg => Exception msg -> m Exception'Type Source #
set_Exception'type_ :: RWCtx m s => Exception (MutMsg s) -> Exception'Type -> m () Source #
data Exception'Type Source #
Constructors
| Exception'Type'failed | |
| Exception'Type'overloaded | |
| Exception'Type'disconnected | |
| Exception'Type'unimplemented | |
| Exception'Type'unknown' Word16 |