[−][src]Trait stratum_server::Global
Required methods
#[must_use]fn call<'life0, 'async_trait>(
&'life0 self,
state: State,
connection_list: Arc<MinerList>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
state: State,
connection_list: Arc<MinerList>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Implementors
impl<State, F, Fut> Global<State> for F where
State: Clone + Send + Sync + 'static,
F: Send + Sync + 'static + Fn(State, Arc<MinerList>) -> Fut,
Fut: Future<Output = ()> + Send + 'static,
[src]
State: Clone + Send + Sync + 'static,
F: Send + Sync + 'static + Fn(State, Arc<MinerList>) -> Fut,
Fut: Future<Output = ()> + Send + 'static,