Crate iridis_url_scheme_derive

Source
Expand description

This module contains the macros UrlSchemePlugin and url_scheme_plugin(runtime). It’s used to generate the necessary boilerplate code for creating a url scheme plugin.

Attribute Macros§

url_scheme_plugin
Use this macro to mark an impl block on a url scheme plugin. This will alter the new and load methods to return a tokio::task::JoinHandle with the provided runtime. The parameter must be a function that takes an async closure and returns a JoinHandle.

Derive Macros§

UrlSchemePlugin
Apply this macro to a struct to generate the C symbols and the according tokio::runtime::Runtime.