aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/asset/chain.rs
blob: 9f62228e04ef98ddbbce4840c0f5b308ff376428 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::fmt::Display;

use crate::ChainProcess;

pub mod error;

pub trait Chain<G>
where
    G: Display,
{
    type Previous;
    fn proc(p: Self::Previous) -> impl Future<Output = ChainProcess<G>> + Send;
}