Crate datex_core

Source

Re-exports§

pub use datex_macros as macros;

Modules§

compiler
crypto
decompiler
generator
global
logger
network
parser
runtime
stdlib
task
utils
values
without_std

Macros§

assert_identical
assert_structural_eq
assert_value_eq
compile
Macro for compiling a DATEX script template text with inserted values into a DXB body, behaves like the format! macro. Example:
datex_array
delegate_com_interface_info
interrupt
interrupt_with_result
run_async
Creates an async execution context in which spawn_local or spawn_with_panic_notify can be used. When a panic occurs in a background task spawned with spawn_with_panic_notify, the panic will be propagated to the main task and the execution will be stopped.
run_async_thread
Spawns a thread that runs an async block using the Tokio runtime. The behavior is similar to run_async! {}, with the only difference being that it runs in a separate thread.
set_opener
This macro is used to create a new opener function for the ComInterface that returns a boolean indicating if the opener was successful or not. The method shall be only called by the ComHub that doesn’t know the actual return value of the specific opener function.
set_sync_opener
yield_unwrap