Skip to main content

Module bridge

Module bridge 

Source

Structs§

BincodeFfiFormat
The default serialisation format implementation used in the FFI calls. Uses bincode.
Bridge
Bridge is a core wrapper presenting the same interface as the Core but in a serialized form, using bincode as the serialization format.
EffectId
JsonFfiFormat
A JSON serialisation format implementation used in the FFI calls. Uses serde_json.
Request
Request for a side-effect passed from the Core to the Shell. The EffectId links the Request with the corresponding call to Core::resolve to pass the data back to the App::update function (wrapped in the event provided to the capability originating the effect).
Requests
A batch of effect requests from the Core to the Shell, as serialised by Bridge::update and Bridge::resolve.

Enums§

BridgeError

Traits§

FfiFormat
A serialization format for the bridge FFI.