fedimint_core

Macro maybe_add_send

Source
macro_rules! maybe_add_send {
    ($($tt:tt)*) => { ... };
}
Expand description

MaybeSync can not be used in dyn $Trait + MaybeSend

ยงExample

use std::any::Any;

use fedimint_core::{apply, maybe_add_send};
type Foo = maybe_add_send!(dyn Any);