fedimint_core

Macro 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
}