pub trait ActivityImplementer {
// Required method
fn register_all(self: Arc<Self>, defs: &mut ActivityDefinitions);
}Expand description
Implemented by #[activities] for types that provide activity methods.
This trait supports registration and direct execution infrastructure. Applications normally use the generated implementation rather than implementing it manually.
Required Methods§
Sourcefn register_all(self: Arc<Self>, defs: &mut ActivityDefinitions)
fn register_all(self: Arc<Self>, defs: &mut ActivityDefinitions)
Register every activity method implemented by this type.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".