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
implblock on a url scheme plugin. This will alter thenewandloadmethods to return atokio::task::JoinHandlewith the provided runtime. The parameter must be a function that takes anasyncclosure and returns aJoinHandle.
Derive Macros§
- UrlScheme
Plugin - Apply this macro to a struct to generate the
Csymbols and the accordingtokio::runtime::Runtime.