| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Capnp.Gen.Capnp.Rpc
Documentation
Constructors
| Message'newtype_ (Struct msg) |
Instances
| TraverseMsg Message Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| 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 | |
set_Message'obsoleteSave :: RWCtx m s => Message (MutMsg s) -> Maybe (Ptr (MutMsg s)) -> m () Source #
set_Message'obsoleteDelete :: RWCtx m s => Message (MutMsg s) -> Maybe (Ptr (MutMsg s)) -> m () Source #
set_Message'disembargo :: RWCtx m s => Message (MutMsg s) -> Disembargo (MutMsg s) -> m () Source #
newtype Bootstrap msg Source #
Constructors
| Bootstrap'newtype_ (Struct msg) |
Instances
| TraverseMsg Bootstrap Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| 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 | |
set_Bootstrap'deprecatedObjectId :: RWCtx m s => Bootstrap (MutMsg s) -> Maybe (Ptr (MutMsg s)) -> m () Source #
Constructors
| Call'newtype_ (Struct msg) |
Instances
| TraverseMsg Call Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| 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 => Call msg -> m (MessageTarget msg) Source #
set_Call'target :: RWCtx m 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'sendResultsTo :: ReadCtx m msg => Call msg -> m (Call'sendResultsTo msg) Source #
newtype Call'sendResultsTo msg Source #
Constructors
| Call'sendResultsTo'newtype_ (Struct msg) |
Instances
| TraverseMsg Call'sendResultsTo Source # | |
Defined in Capnp.Gen.Capnp.Rpc Methods tMsg :: Applicative m => (msgA -> m msgB) -> Call'sendResultsTo msgA -> m (Call'sendResultsTo msgB) Source # | |
| 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) :: Type 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 => 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 => 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
| TraverseMsg Return Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| 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 | |
set_Return'acceptFromThirdParty :: RWCtx m s => Return (MutMsg s) -> Maybe (Ptr (MutMsg s)) -> m () Source #
Constructors
| Finish'newtype_ (Struct msg) |
Instances
| TraverseMsg Finish Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| 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
| TraverseMsg Resolve Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| 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 | |
set_Resolve'cap :: RWCtx m s => Resolve (MutMsg s) -> CapDescriptor (MutMsg s) -> m () Source #
Constructors
| Release'newtype_ (Struct msg) |
Instances
| TraverseMsg Release Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| 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 => Disembargo msg -> m (MessageTarget msg) Source #
set_Disembargo'target :: RWCtx m 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 => Disembargo msg -> m (Disembargo'context msg) Source #
newtype Disembargo'context msg Source #
Constructors
| Disembargo'context'newtype_ (Struct msg) |
Instances
| TraverseMsg Disembargo'context Source # | |
Defined in Capnp.Gen.Capnp.Rpc Methods tMsg :: Applicative m => (msgA -> m msgB) -> Disembargo'context msgA -> m (Disembargo'context msgB) Source # | |
| 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) :: Type 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 => 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
| TraverseMsg Provide Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| 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 => Provide msg -> m (MessageTarget msg) Source #
set_Provide'target :: RWCtx m s => Provide (MutMsg s) -> MessageTarget (MutMsg s) -> m () Source #
new_Provide'target :: RWCtx m s => Provide (MutMsg s) -> m (MessageTarget (MutMsg s)) Source #
Constructors
| Accept'newtype_ (Struct msg) |
Instances
| TraverseMsg Accept Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| 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 | |
Constructors
| Join'newtype_ (Struct msg) |
Instances
| TraverseMsg Join Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| 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 => Join msg -> m (MessageTarget msg) Source #
set_Join'target :: RWCtx m s => Join (MutMsg s) -> MessageTarget (MutMsg s) -> m () Source #
new_Join'target :: RWCtx m s => Join (MutMsg s) -> m (MessageTarget (MutMsg s)) 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 => MessageTarget msg -> m (MessageTarget' msg) Source #
set_MessageTarget'importedCap :: RWCtx m s => MessageTarget (MutMsg s) -> Word32 -> m () Source #
set_MessageTarget'promisedAnswer :: RWCtx m 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
| TraverseMsg Payload Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| 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'capTable :: ReadCtx m msg => Payload msg -> m (List msg (CapDescriptor msg)) Source #
set_Payload'capTable :: RWCtx m 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
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 => 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 => CapDescriptor (MutMsg s) -> PromisedAnswer (MutMsg s) -> m () Source #
set_CapDescriptor'thirdPartyHosted :: RWCtx m 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 => PromisedAnswer msg -> m (List msg (PromisedAnswer'Op msg)) Source #
set_PromisedAnswer'transform :: RWCtx m 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 => 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 => ThirdPartyCapDescriptor msg -> m (Maybe (Ptr msg)) Source #
set_ThirdPartyCapDescriptor'id :: RWCtx m 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
| TraverseMsg Exception Source # | |
Defined in Capnp.Gen.Capnp.Rpc | |
| 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'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 |