Struct ntex::util::variant::VariantFactory8 [−][src]
pub struct VariantFactory8<V1, V1C, V2, V3, V4, V5, V6, V7, V8, V1R, V2R, V3R, V4R, V5R, V6R, V7R, V8R> { /* fields omitted */ }
Trait Implementations
impl<V1, V1C, V2, V3, V4, V5, V6, V7, V8, V1R, V2R, V3R, V4R, V5R, V6R, V7R, V8R> ServiceFactory<Variant8<V1R, V2R, V3R, V4R, V5R, V6R, V7R, V8R>, V1C> for VariantFactory8<V1, V1C, V2, V3, V4, V5, V6, V7, V8, V1R, V2R, V3R, V4R, V5R, V6R, V7R, V8R> 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>,
V8: ServiceFactory<V8R, V1C, Response = V1::Response, Error = V1::Error, InitError = V1::InitError>,
impl<V1, V1C, V2, V3, V4, V5, V6, V7, V8, V1R, V2R, V3R, V4R, V5R, V6R, V7R, V8R> ServiceFactory<Variant8<V1R, V2R, V3R, V4R, V5R, V6R, V7R, V8R>, V1C> for VariantFactory8<V1, V1C, V2, V3, V4, V5, V6, V7, V8, V1R, V2R, V3R, V4R, V5R, V6R, V7R, V8R> 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>,
V8: ServiceFactory<V8R, 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, V8, V1R, V2R, V3R, V4R, V5R, V6R, V7R, V8R>
type Future = ServiceFactoryResponse<V1, V1C, V2, V3, V4, V5, V6, V7, V8, V1R, V2R, V3R, V4R, V5R, V6R, V7R, V8R>
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<V1, V1C, V2, V3, V4, V5, V6, V7, V8, V1R, V2R, V3R, V4R, V5R, V6R, V7R, V8R> RefUnwindSafe for VariantFactory8<V1, V1C, V2, V3, V4, V5, V6, V7, V8, V1R, V2R, V3R, V4R, V5R, V6R, V7R, V8R> where
V1: RefUnwindSafe,
V1C: RefUnwindSafe,
V1R: RefUnwindSafe,
V2: RefUnwindSafe,
V2R: RefUnwindSafe,
V3: RefUnwindSafe,
V3R: RefUnwindSafe,
V4: RefUnwindSafe,
V4R: RefUnwindSafe,
V5: RefUnwindSafe,
V5R: RefUnwindSafe,
V6: RefUnwindSafe,
V6R: RefUnwindSafe,
V7: RefUnwindSafe,
V7R: RefUnwindSafe,
V8: RefUnwindSafe,
V8R: RefUnwindSafe,
impl<V1, V1C, V2, V3, V4, V5, V6, V7, V8, V1R, V2R, V3R, V4R, V5R, V6R, V7R, V8R> Send for VariantFactory8<V1, V1C, V2, V3, V4, V5, V6, V7, V8, V1R, V2R, V3R, V4R, V5R, V6R, V7R, V8R> where
V1: Send,
V1C: Send,
V1R: Send,
V2: Send,
V2R: Send,
V3: Send,
V3R: Send,
V4: Send,
V4R: Send,
V5: Send,
V5R: Send,
V6: Send,
V6R: Send,
V7: Send,
V7R: Send,
V8: Send,
V8R: Send,
impl<V1, V1C, V2, V3, V4, V5, V6, V7, V8, V1R, V2R, V3R, V4R, V5R, V6R, V7R, V8R> Sync for VariantFactory8<V1, V1C, V2, V3, V4, V5, V6, V7, V8, V1R, V2R, V3R, V4R, V5R, V6R, V7R, V8R> where
V1: Sync,
V1C: Sync,
V1R: Sync,
V2: Sync,
V2R: Sync,
V3: Sync,
V3R: Sync,
V4: Sync,
V4R: Sync,
V5: Sync,
V5R: Sync,
V6: Sync,
V6R: Sync,
V7: Sync,
V7R: Sync,
V8: Sync,
V8R: Sync,
impl<V1, V1C, V2, V3, V4, V5, V6, V7, V8, V1R, V2R, V3R, V4R, V5R, V6R, V7R, V8R> Unpin for VariantFactory8<V1, V1C, V2, V3, V4, V5, V6, V7, V8, V1R, V2R, V3R, V4R, V5R, V6R, V7R, V8R> where
V1: Unpin,
V1C: Unpin,
V1R: Unpin,
V2: Unpin,
V2R: Unpin,
V3: Unpin,
V3R: Unpin,
V4: Unpin,
V4R: Unpin,
V5: Unpin,
V5R: Unpin,
V6: Unpin,
V6R: Unpin,
V7: Unpin,
V7R: Unpin,
V8: Unpin,
V8R: Unpin,
impl<V1, V1C, V2, V3, V4, V5, V6, V7, V8, V1R, V2R, V3R, V4R, V5R, V6R, V7R, V8R> UnwindSafe for VariantFactory8<V1, V1C, V2, V3, V4, V5, V6, V7, V8, V1R, V2R, V3R, V4R, V5R, V6R, V7R, V8R> where
V1: UnwindSafe,
V1C: UnwindSafe,
V1R: UnwindSafe,
V2: UnwindSafe,
V2R: UnwindSafe,
V3: UnwindSafe,
V3R: UnwindSafe,
V4: UnwindSafe,
V4R: UnwindSafe,
V5: UnwindSafe,
V5R: UnwindSafe,
V6: UnwindSafe,
V6R: UnwindSafe,
V7: UnwindSafe,
V7R: UnwindSafe,
V8: UnwindSafe,
V8R: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Self
to a ServiceFactory
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