macro_rules! sealed { (trait) => { ... }; (impl) => { ... }; }
Put this macro inside a trait to seal it i.e. prevent extern implementations.