pub trait Plugin:
Bot
+ Send
+ Sync
+ 'static {
const NAME: &'static str;
}Expand description
A set of handlers that a bot runs in its own task, with a name.
The #[plugin] attribute implements this trait. Implement it yourself only
for a plugin that you make without the attribute.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".