Expand description
This module contains the macros FileExtPlugin and file_ext_plugin(runtime).
It’s used to generate the necessary boilerplate code for creating a file extension plugin.
Attribute Macros§
- file_
ext_ plugin - Use this macro to mark an
implblock on a file extension 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§
- File
ExtPlugin - Apply this macro to a struct to generate the
Csymbols and the accordingtokio::runtime::Runtime.