pub trait PluginAction:
Send
+ Sync
+ 'static {
type Args: Serialize + DeserializeOwned + JsonSchema + Send + 'static;
type Output: Serialize + DeserializeOwned + JsonSchema + Send + 'static;
const NAME: &'static str;
const DESCRIPTION: &'static str;
const KIND: PluginActionKind;
const SESSION_PARAM: SessionParam;
}Required Associated Constants§
const NAME: &'static str
const DESCRIPTION: &'static str
const KIND: PluginActionKind
const SESSION_PARAM: SessionParam
Required Associated Types§
type Args: Serialize + DeserializeOwned + JsonSchema + Send + 'static
type Output: Serialize + DeserializeOwned + JsonSchema + Send + 'static
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".