macro_rules! maybe_add_send { ($($tt:tt)*) => { ... }; }
MaybeSync can not be used in dyn $Trait + MaybeSend
dyn $Trait + MaybeSend
use std::any::Any; use fedimint_core::{apply, maybe_add_send}; type Foo = maybe_add_send!(dyn Any);