Enum ntex::util::variant::Variant7 [−][src]
pub enum Variant7<V1R, V2R, V3R, V4R, V5R, V6R, V7R> {
V1(V1R),
V2(V2R),
V3(V3R),
V4(V4R),
V5(V5R),
V6(V6R),
V7(V7R),
}
Variants
V1(V1R)
V2(V2R)
V3(V3R)
V4(V4R)
V5(V5R)
V6(V6R)
V7(V7R)
Trait Implementations
impl<V1, V2, V3, V4, V5, V6, V7, V1R, V2R, V3R, V4R, V5R, V6R, V7R> Service<Variant7<V1R, V2R, V3R, V4R, V5R, V6R, V7R>> for VariantService7<V1, V2, V3, V4, V5, V6, V7, V1R, V2R, V3R, V4R, V5R, V6R, V7R> where
V1: Service<V1R>,
V2: Service<V2R, Response = V1::Response, Error = V1::Error>,
V3: Service<V3R, Response = V1::Response, Error = V1::Error>,
V4: Service<V4R, Response = V1::Response, Error = V1::Error>,
V5: Service<V5R, Response = V1::Response, Error = V1::Error>,
V6: Service<V6R, Response = V1::Response, Error = V1::Error>,
V7: Service<V7R, Response = V1::Response, Error = V1::Error>,
impl<V1, V2, V3, V4, V5, V6, V7, V1R, V2R, V3R, V4R, V5R, V6R, V7R> Service<Variant7<V1R, V2R, V3R, V4R, V5R, V6R, V7R>> for VariantService7<V1, V2, V3, V4, V5, V6, V7, V1R, V2R, V3R, V4R, V5R, V6R, V7R> where
V1: Service<V1R>,
V2: Service<V2R, Response = V1::Response, Error = V1::Error>,
V3: Service<V3R, Response = V1::Response, Error = V1::Error>,
V4: Service<V4R, Response = V1::Response, Error = V1::Error>,
V5: Service<V5R, Response = V1::Response, Error = V1::Error>,
V6: Service<V6R, Response = V1::Response, Error = V1::Error>,
V7: Service<V7R, Response = V1::Response, Error = V1::Error>,
impl<V1, V1C, V2, V3, V4, V5, V6, V7, V1R, V2R, V3R, V4R, V5R, V6R, V7R> ServiceFactory<Variant7<V1R, V2R, V3R, V4R, V5R, V6R, V7R>, V1C> for VariantFactory7<V1, V1C, V2, V3, V4, V5, V6, V7, V1R, V2R, V3R, V4R, V5R, V6R, V7R> where
V1: ServiceFactory<V1R, V1C>,
V1C: Clone,
V2: ServiceFactory<V2R, V1C, Response = V1::Response, Error = V1::Error, InitError = V1::InitError>,
V3: ServiceFactory<V3R, V1C, Response = V1::Response, Error = V1::Error, InitError = V1::InitError>,
V4: ServiceFactory<V4R, V1C, Response = V1::Response, Error = V1::Error, InitError = V1::InitError>,
V5: ServiceFactory<V5R, V1C, Response = V1::Response, Error = V1::Error, InitError = V1::InitError>,
V6: ServiceFactory<V6R, V1C, Response = V1::Response, Error = V1::Error, InitError = V1::InitError>,
V7: ServiceFactory<V7R, V1C, Response = V1::Response, Error = V1::Error, InitError = V1::InitError>,
impl<V1, V1C, V2, V3, V4, V5, V6, V7, V1R, V2R, V3R, V4R, V5R, V6R, V7R> ServiceFactory<Variant7<V1R, V2R, V3R, V4R, V5R, V6R, V7R>, V1C> for VariantFactory7<V1, V1C, V2, V3, V4, V5, V6, V7, V1R, V2R, V3R, V4R, V5R, V6R, V7R> where
V1: ServiceFactory<V1R, V1C>,
V1C: Clone,
V2: ServiceFactory<V2R, V1C, Response = V1::Response, Error = V1::Error, InitError = V1::InitError>,
V3: ServiceFactory<V3R, V1C, Response = V1::Response, Error = V1::Error, InitError = V1::InitError>,
V4: ServiceFactory<V4R, V1C, Response = V1::Response, Error = V1::Error, InitError = V1::InitError>,
V5: ServiceFactory<V5R, V1C, Response = V1::Response, Error = V1::Error, InitError = V1::InitError>,
V6: ServiceFactory<V6R, V1C, Response = V1::Response, Error = V1::Error, InitError = V1::InitError>,
V7: ServiceFactory<V7R, V1C, Response = V1::Response, Error = V1::Error, InitError = V1::InitError>,
The Service
value created by this factory
type Future = ServiceFactoryResponse<V1, V1C, V2, V3, V4, V5, V6, V7, V1R, V2R, V3R, V4R, V5R, V6R, V7R>
type Future = ServiceFactoryResponse<V1, V1C, V2, V3, V4, V5, V6, V7, V1R, V2R, V3R, V4R, V5R, V6R, V7R>
The future of the ServiceFactory
instance.
Create and return a new service value asynchronously.
Map this service’s output to a different type, returning a new service of the resulting type. Read more
Map this service’s error to a different error, returning a new service.
fn map_init_err<F, E>(self, f: F) -> MapInitErr<Self, Req, Cfg, F, E> where
F: Fn(Self::InitError) -> E + Clone,
fn map_init_err<F, E>(self, f: F) -> MapInitErr<Self, Req, Cfg, F, E> where
F: Fn(Self::InitError) -> E + Clone,
Map this factory’s init error to a different error, returning a new service.
Auto Trait Implementations
impl<V1R, V2R, V3R, V4R, V5R, V6R, V7R> RefUnwindSafe for Variant7<V1R, V2R, V3R, V4R, V5R, V6R, V7R> where
V1R: RefUnwindSafe,
V2R: RefUnwindSafe,
V3R: RefUnwindSafe,
V4R: RefUnwindSafe,
V5R: RefUnwindSafe,
V6R: RefUnwindSafe,
V7R: RefUnwindSafe,
impl<V1R, V2R, V3R, V4R, V5R, V6R, V7R> Send for Variant7<V1R, V2R, V3R, V4R, V5R, V6R, V7R> where
V1R: Send,
V2R: Send,
V3R: Send,
V4R: Send,
V5R: Send,
V6R: Send,
V7R: Send,
impl<V1R, V2R, V3R, V4R, V5R, V6R, V7R> Sync for Variant7<V1R, V2R, V3R, V4R, V5R, V6R, V7R> where
V1R: Sync,
V2R: Sync,
V3R: Sync,
V4R: Sync,
V5R: Sync,
V6R: Sync,
V7R: Sync,
impl<V1R, V2R, V3R, V4R, V5R, V6R, V7R> Unpin for Variant7<V1R, V2R, V3R, V4R, V5R, V6R, V7R> where
V1R: Unpin,
V2R: Unpin,
V3R: Unpin,
V4R: Unpin,
V5R: Unpin,
V6R: Unpin,
V7R: Unpin,
impl<V1R, V2R, V3R, V4R, V5R, V6R, V7R> UnwindSafe for Variant7<V1R, V2R, V3R, V4R, V5R, V6R, V7R> where
V1R: UnwindSafe,
V2R: UnwindSafe,
V3R: UnwindSafe,
V4R: UnwindSafe,
V5R: UnwindSafe,
V6R: UnwindSafe,
V7R: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more