Crate async_sync_trait_procmacro

Source
Expand description

This crate provides a macro (async_sync_trait) to define async traits (and their implementations) while automatically providing synchronous versions of each method named method_name_sync. See the macro’s docs for details.

Attribute Macros§

async_sync_trait
This macro can be applied to traits and impls of those traits to automatically define _sync versions of async functions.
no_sync
Used to specify that a method inside of an async_sync_trait trait or impl should not produce a _sync version. Does not modify whatever it’s applied to.