I'd like to require that a structure have the "Send" trait, so that, if something down within it isn't Send (probably an Rc), that causes a compile error when the structure is compiled, not when a user of the library tries to pass it through a spawn move.
pub struct foo: Send { ... }
would make sense, but isn't allowed. Is there syntax to do this, or is it not supported.