Crate micrortu_wasm_global_shared_data Copy item path Source BindingDefinition A binding definition. Config Direction A direction of a binding.
Meaningful values are IN, OUT, IN_OUT.
All other values are invalid, but safe. FactoryInput Shared data between the wasm module and the host. IEBuf NativeBindingDefinition A BindingDefinition for native (non-wasm) blocks. Shared Shared data between the wasm module and the host. ParseError Erorrs that can occur while parsing genarated ports from Shared,
written by MicroRTU.
Indicates misconfiguration of MicroRTU or a bug in ports! macro or
MicroRTU firmware. BINDINGS_BYTES_CAP IN Represents an input binding. IN_OUT Represents an input-output binding. OUT Represents an output binding. REQUIRED StepResult The result of a step. 0 means success, anything else is an error.
Implementation could also trap, but it’s not recommended.
Any error would be logged.