backstage 0.1.1

A framework for building data-driven distributed systems
Documentation
1
2
3
4
5
6
7
8
9
use async_trait::async_trait;

#[async_trait]
pub trait Starter<H> {
    type Ok;
    type Error: std::fmt::Display;
    type Input;
    async fn starter(self, handle: H, input: Option<Self::Input>) -> Result<Self::Ok, Self::Error>;
}