Skip to main content

with_service

Function with_service 

Source
pub async fn with_service<F, T, E>(svc: &'static str, fut: F) -> F::Output
where F: Future<Output = Result<T, Error<E>>>, E: ErrorDiagnostic + Clone,
Expand description

Execute future and set error service.

Sets service if it not set