pub struct VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R> { /* private fields */ }Trait Implementations§
Source§impl<V1, V2, V3, V4, V1R, V2R, V3R, V4R> Clone for VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R>
impl<V1, V2, V3, V4, V1R, V2R, V3R, V4R> Clone for VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R>
Source§fn clone(&self) -> VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R>
fn clone(&self) -> VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R>
Returns a duplicate 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, V1R, V2R, V3R, V4R> Debug for VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R>
impl<V1, V2, V3, V4, V1R, V2R, V3R, V4R> Debug for VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R>
Source§impl<V1, V2, V3, V4, V1R, V2R, V3R, V4R> Service<Variant4<V1R, V2R, V3R, V4R>> for VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R>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>,
impl<V1, V2, V3, V4, V1R, V2R, V3R, V4R> Service<Variant4<V1R, V2R, V3R, V4R>> for VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R>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>,
Source§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<'_, VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R>>,
) -> Result<(), <VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R> as Service<Variant4<V1R, V2R, V3R, V4R>>>::Error>
async fn ready( &self, ctx: ServiceCtx<'_, VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R>>, ) -> Result<(), <VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R> as Service<Variant4<V1R, V2R, V3R, V4R>>>::Error>
Returns when the service is ready to process requests. Read more
Source§fn poll(
&self,
cx: &mut Context<'_>,
) -> Result<(), <VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R> as Service<Variant4<V1R, V2R, V3R, V4R>>>::Error>
fn poll( &self, cx: &mut Context<'_>, ) -> Result<(), <VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R> as Service<Variant4<V1R, V2R, V3R, V4R>>>::Error>
Polls the service from the current async task. Read more
Source§async fn call(
&self,
req: Variant4<V1R, V2R, V3R, V4R>,
ctx: ServiceCtx<'_, VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R>>,
) -> Result<<VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R> as Service<Variant4<V1R, V2R, V3R, V4R>>>::Response, <VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R> as Service<Variant4<V1R, V2R, V3R, V4R>>>::Error>
async fn call( &self, req: Variant4<V1R, V2R, V3R, V4R>, ctx: ServiceCtx<'_, VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R>>, ) -> Result<<VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R> as Service<Variant4<V1R, V2R, V3R, V4R>>>::Response, <VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R> as Service<Variant4<V1R, V2R, V3R, V4R>>>::Error>
Processes a request and returns the response asynchronously. Read more
Auto Trait Implementations§
impl<V1, V2, V3, V4, V1R, V2R, V3R, V4R> Freeze for VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R>
impl<V1, V2, V3, V4, V1R, V2R, V3R, V4R> RefUnwindSafe for VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R>where
V1: RefUnwindSafe,
V2: RefUnwindSafe,
V3: RefUnwindSafe,
V4: RefUnwindSafe,
V1R: RefUnwindSafe,
V2R: RefUnwindSafe,
V3R: RefUnwindSafe,
V4R: RefUnwindSafe,
impl<V1, V2, V3, V4, V1R, V2R, V3R, V4R> Send for VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R>
impl<V1, V2, V3, V4, V1R, V2R, V3R, V4R> Sync for VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R>
impl<V1, V2, V3, V4, V1R, V2R, V3R, V4R> Unpin for VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R>
impl<V1, V2, V3, V4, V1R, V2R, V3R, V4R> UnsafeUnpin for VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R>
impl<V1, V2, V3, V4, V1R, V2R, V3R, V4R> UnwindSafe for VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R>where
V1: UnwindSafe,
V2: UnwindSafe,
V3: UnwindSafe,
V4: UnwindSafe,
V1R: UnwindSafe,
V2R: UnwindSafe,
V3R: UnwindSafe,
V4R: 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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