pub trait WebServiceFactory<Err: ErrorRenderer> {
// Required method
fn register(self, config: &mut WebServiceConfig<Err>);
}
Required Methods§
fn register(self, config: &mut WebServiceConfig<Err>)
Implementations on Foreign Types§
Source§impl<Err, T, const N: usize> WebServiceFactory<Err> for [T; N]where
Err: ErrorRenderer,
T: WebServiceFactory<Err> + 'static,
impl<Err, T, const N: usize> WebServiceFactory<Err> for [T; N]where
Err: ErrorRenderer,
T: WebServiceFactory<Err> + 'static,
fn register(self, config: &mut WebServiceConfig<Err>)
Source§impl<Err: ErrorRenderer, T: WebServiceFactory<Err> + 'static> WebServiceFactory<Err> for (T₁, T₂, …, Tₙ)
This trait is implemented for tuples up to 24 items long.
impl<Err: ErrorRenderer, T: WebServiceFactory<Err> + 'static> WebServiceFactory<Err> for (T₁, T₂, …, Tₙ)
This trait is implemented for tuples up to 24 items long.