Expand description
Handler trait for conduit commands (sync and async).
ConduitHandler is implemented by #[conduit::command] for both
synchronous and asynchronous functions. The plugin dispatches via this
trait and branches on HandlerResponse automatically.
Structs§
- Handler
Context - Context passed from the plugin to
#[command]handlers.
Enums§
- Handler
Response - Response from a conduit command handler.
Traits§
- Conduit
Handler - Trait for conduit command handlers, supporting both sync and async.