Attribute Macro export_operator

Source
#[export_operator]
Expand description

Expose the symbols Zenoh-Flow needs to instantiate and start a Operator.

In addition to exposing a specific symbol that will not be mangled by the compiler, this macro records the version of the rust compiler used as well as the version of Zenoh-Flow. These additional information are here to (try) limit possible surprises due to the lack of stable ABI in Rust.

ยงExample

#[export_operator]
pub struct MyOperator {
    // Your logic code goes here.
}