Trait stratum_server::Global
source · [−]pub trait Global<State: Clone + Send + Sync + 'static, CState: Clone + Send + Sync + 'static>: Send + Sync + 'static {
fn call<'life0, 'async_trait>(
&'life0 self,
state: State,
connection_list: Arc<ConnectionList<CState>>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}