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
trait
s andimpl
s 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.