Struct ntex::util::variant::VariantService5
source · pub struct VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> { /* private fields */ }
Trait Implementations§
source§impl<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> Clone for VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R>
impl<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> Clone for VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R>
source§fn clone(&self) -> VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R>
fn clone(&self) -> VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> Debug for VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R>
impl<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> Debug 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 as Service<V1R>>::Response, Error = <V1 as Service<V1R>>::Error>,
V3: Service<V3R, Response = <V1 as Service<V1R>>::Response, Error = <V1 as Service<V1R>>::Error>,
V4: Service<V4R, Response = <V1 as Service<V1R>>::Response, Error = <V1 as Service<V1R>>::Error>,
V5: Service<V5R, Response = <V1 as Service<V1R>>::Response, Error = <V1 as Service<V1R>>::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 as Service<V1R>>::Response, Error = <V1 as Service<V1R>>::Error>,
V3: Service<V3R, Response = <V1 as Service<V1R>>::Response, Error = <V1 as Service<V1R>>::Error>,
V4: Service<V4R, Response = <V1 as Service<V1R>>::Response, Error = <V1 as Service<V1R>>::Error>,
V5: Service<V5R, Response = <V1 as Service<V1R>>::Response, Error = <V1 as Service<V1R>>::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.
source§async fn ready(
&self,
ctx: ServiceCtx<'_, VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R>>
) -> Result<(), <VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> as Service<Variant5<V1R, V2R, V3R, V4R, V5R>>>::Error>
async fn ready( &self, ctx: ServiceCtx<'_, VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R>> ) -> Result<(), <VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> as Service<Variant5<V1R, V2R, V3R, V4R, V5R>>>::Error>
Returns when the service is able to process requests. Read more
source§async fn call(
&self,
req: Variant5<V1R, V2R, V3R, V4R, V5R>,
ctx: ServiceCtx<'_, VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R>>
) -> Result<<VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> as Service<Variant5<V1R, V2R, V3R, V4R, V5R>>>::Response, <VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> as Service<Variant5<V1R, V2R, V3R, V4R, V5R>>>::Error>
async fn call( &self, req: Variant5<V1R, V2R, V3R, V4R, V5R>, ctx: ServiceCtx<'_, VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R>> ) -> Result<<VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> as Service<Variant5<V1R, V2R, V3R, V4R, V5R>>>::Response, <VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> as Service<Variant5<V1R, V2R, V3R, V4R, V5R>>>::Error>
Process the request and return the response asynchronously. Read more
Auto Trait Implementations§
impl<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> Freeze for VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R>
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,
V2: RefUnwindSafe,
V3: RefUnwindSafe,
V4: RefUnwindSafe,
V5: RefUnwindSafe,
V1R: RefUnwindSafe,
V2R: RefUnwindSafe,
V3R: RefUnwindSafe,
V4R: 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>
impl<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> Sync for VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R>
impl<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R> Unpin for VariantService5<V1, V2, V3, V4, V5, V1R, V2R, V3R, V4R, V5R>
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,
V2: UnwindSafe,
V3: UnwindSafe,
V4: UnwindSafe,
V5: UnwindSafe,
V1R: UnwindSafe,
V2R: UnwindSafe,
V3R: UnwindSafe,
V4R: UnwindSafe,
V5R: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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