[−][src]Function ntex::util::either::either
pub fn either<A, B>(left: A, right: B) -> Either<A, B> where
A: ServiceFactory,
A::Config: Clone,
B: ServiceFactory<Config = A::Config, Response = A::Response, Error = A::Error, InitError = A::InitError>,
Construct Either
service factory.
Either service allow to combine two different services into a single service.