pub trait ModuleInterface:
Any
+ Send
+ Sync { }
Expand description
Submodules must be 'static
in order to be stored in other modules
(hence the Any
requirement).
The thread_safe
feature is turned on, which requires submodules to
also implement Send
and Sync
.