tcplane/server/func/
type.rs

1
2
3
4
5
6
7
8
9
10
use super::r#trait::{AsyncFunc, Func};
use crate::*;
use http_type::*;
use server::r#type::*;

pub type FuncBox = Box<dyn Func>;
pub type FuncArcLock = ArcRwLock<FuncBox>;

pub type AsyncFuncBox = Box<dyn AsyncFunc>;
pub type AsyncFuncArcLock = AsyncArcRwLock<AsyncFuncBox>;