Macro fedimint_core::async_trait_maybe_send

source ·
macro_rules! async_trait_maybe_send {
    ($($tt:tt)*) => { ... };
}
Expand description

async trait that use MaybeSend

§Example

use fedimint_core::{apply, async_trait_maybe_send};
#[apply(async_trait_maybe_send!)]
trait Foo {
    // methods
}

#[apply(async_trait_maybe_send!)]
impl Foo for () {
    // methods
}