Trait stratum_server::Global
source · pub trait Global<State: Clone, CState: Clone>: Send + Sync + 'static {
// Required method
fn call<'life0, 'async_trait>(
&'life0 self,
state: State,
session_list: SessionList<CState>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}