pub trait Plugin:
Send
+ Sync
+ 'static {
// Required method
fn call<'a>(
&self,
txn: &mut (dyn Transaction<'a> + 'a),
arg: Json,
) -> Result<Json, Error>;
}
Expand description
Plugins should implement this trait.