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 andimpls of those traits to automatically define_syncversions of async functions. - no_sync
- Used to specify that a method inside of an
async_sync_traittrait or impl should not produce a_syncversion. Does not modify whatever it’s applied to.