Attribute Macro export_sink

Source
#[export_sink]
Expand description

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

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_sink]
pub struct MySink {
    // Your logic goes here.
}