20 lines
540 B
Rust
20 lines
540 B
Rust
use crate::finalize::plugin::PluginError;
|
|
use crate::finalize::plugin::PluginMetadata;
|
|
use crate::{EventSender, ExecutionContext, finalize::plugin::AsyncPluginFn};
|
|
use async_trait::async_trait;
|
|
|
|
pub struct Dylib;
|
|
|
|
#[async_trait]
|
|
impl AsyncPluginFn for Dylib {
|
|
async fn call(
|
|
&self,
|
|
_metadata: &PluginMetadata,
|
|
_argument: serde_yaml::Value,
|
|
_ctx: &ExecutionContext,
|
|
_event_tx: &EventSender,
|
|
) -> Result<(), PluginError> {
|
|
unimplemented!("Dylib plugin is not implemented yet");
|
|
}
|
|
}
|