conductor_rust 0.1.0-alpha.0

A library for building Conductor workers with Rust
Documentation
1
2
3
4
5
6
7
8
9
use crate::common::event::event_handler::EventHandler;
use async_trait::async_trait;
use reqwest::Error;

#[async_trait]
pub trait EventHandlerMutator {
    async fn update_event_handler(&self, handler: EventHandler) -> Result<bool, Error>;
    async fn save_event_handler(&self, handler: EventHandler) -> Result<bool, Error>;
}