Re-exports§
pub use datex_macros as macros;
Modules§
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_localorspawn_with_panic_notifycan be used. When a panic occurs in a background task spawned withspawn_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