Struct ntex_util::services::variant::VariantService5
source · pub struct VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> { /* private fields */ }Trait Implementations§
source§impl<V1: Clone, V2: Clone, V3: Clone, V4: Clone, V5: Clone, V1R, V2R, V3R, V4R, V5R> Clone for VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R>
impl<V1: Clone, V2: Clone, V3: Clone, V4: Clone, V5: Clone, V1R, V2R, V3R, V4R, V5R> Clone for VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R>
source§impl<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> Service<Variant5<V1R, V2R, V3R, V4R, V5R>> for VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R>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>,
impl<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> Service<Variant5<V1R, V2R, V3R, V4R, V5R>> for VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R>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>,
§type Error = <V1 as Service<V1R>>::Error
type Error = <V1 as Service<V1R>>::Error
Errors produced by the service when polling readiness or executing call.
§type Future<'f>
where
Self: 'f,
V1: 'f = ServiceResponse<<V1 as Service<V1R>>::Future<'f>, <V2 as Service<V2R>>::Future<'f>, <V3 as Service<V3R>>::Future<'f>, <V4 as Service<V4R>>::Future<'f>, <V5 as Service<V5R>>::Future<'f>>
type Future<'f> where Self: 'f, V1: 'f = ServiceResponse<<V1 as Service<V1R>>::Future<'f>, <V2 as Service<V2R>>::Future<'f>, <V3 as Service<V3R>>::Future<'f>, <V4 as Service<V4R>>::Future<'f>, <V5 as Service<V5R>>::Future<'f>>
The future response value.
source§fn poll_ready(&self, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>
fn poll_ready(&self, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>
Returns
Ready when the service is able to process requests. Read moresource§fn call(&self, req: Variant5<V1R, V2R, V3R, V4R, V5R>) -> Self::Future<'_>
fn call(&self, req: Variant5<V1R, V2R, V3R, V4R, V5R>) -> Self::Future<'_>
Process the request and return the response asynchronously. Read more
Auto Trait Implementations§
impl<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> RefUnwindSafe for VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R>where V1: RefUnwindSafe, V1R: RefUnwindSafe, V2: RefUnwindSafe, V2R: RefUnwindSafe, V3: RefUnwindSafe, V3R: RefUnwindSafe, V4: RefUnwindSafe, V4R: RefUnwindSafe, V5: RefUnwindSafe, V5R: RefUnwindSafe,
impl<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> Send for VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R>where V1: Send, V1R: Send, V2: Send, V2R: Send, V3: Send, V3R: Send, V4: Send, V4R: Send, V5: Send, V5R: Send,
impl<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> Sync for VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R>where V1: Sync, V1R: Sync, V2: Sync, V2R: Sync, V3: Sync, V3R: Sync, V4: Sync, V4R: Sync, V5: Sync, V5R: Sync,
impl<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> Unpin for VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R>where V1: Unpin, V1R: Unpin, V2: Unpin, V2R: Unpin, V3: Unpin, V3R: Unpin, V4: Unpin, V4R: Unpin, V5: Unpin, V5R: Unpin,
impl<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> UnwindSafe for VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R>where V1: UnwindSafe, V1R: UnwindSafe, V2: UnwindSafe, V2R: UnwindSafe, V3: UnwindSafe, V3R: UnwindSafe, V4: UnwindSafe, V4R: UnwindSafe, V5: UnwindSafe, V5R: UnwindSafe,
Blanket Implementations§
source§impl<Svc, Req> IntoService<Svc, Req> for Svcwhere
Svc: Service<Req>,
impl<Svc, Req> IntoService<Svc, Req> for Svcwhere Svc: Service<Req>,
source§fn into_service(self) -> Svc
fn into_service(self) -> Svc
Convert to a
Service