pub struct VariantService3<V1, V2, V3, V1R, V2R, V3R> { /* private fields */ }
Trait Implementations§
source§impl<V1: Clone, V2: Clone, V3: Clone, V1R, V2R, V3R> Clone for VariantService3<V1, V2, V3, V1R, V2R, V3R>
impl<V1: Clone, V2: Clone, V3: Clone, V1R, V2R, V3R> Clone for VariantService3<V1, V2, V3, V1R, V2R, V3R>
source§impl<V1: Debug, V2: Debug, V3: Debug, V1R, V2R, V3R> Debug for VariantService3<V1, V2, V3, V1R, V2R, V3R>
impl<V1: Debug, V2: Debug, V3: Debug, V1R, V2R, V3R> Debug for VariantService3<V1, V2, V3, V1R, V2R, V3R>
source§impl<V1, V2, V3, V1R, V2R, V3R> Service<Variant3<V1R, V2R, V3R>> for VariantService3<V1, V2, V3, V1R, V2R, V3R>
impl<V1, V2, V3, V1R, V2R, V3R> Service<Variant3<V1R, V2R, V3R>> for VariantService3<V1, V2, V3, V1R, V2R, V3R>
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<'_, Self>) -> Result<(), Self::Error>
async fn ready(&self, ctx: ServiceCtx<'_, Self>) -> Result<(), Self::Error>
Returns when the service is able to process requests. Read more
source§async fn call(
&self,
req: Variant3<V1R, V2R, V3R>,
ctx: ServiceCtx<'_, Self>,
) -> Result<Self::Response, Self::Error>
async fn call( &self, req: Variant3<V1R, V2R, V3R>, ctx: ServiceCtx<'_, Self>, ) -> Result<Self::Response, Self::Error>
Process the request and return the response asynchronously. Read more
Auto Trait Implementations§
impl<V1, V2, V3, V1R, V2R, V3R> Freeze for VariantService3<V1, V2, V3, V1R, V2R, V3R>
impl<V1, V2, V3, V1R, V2R, V3R> RefUnwindSafe for VariantService3<V1, V2, V3, V1R, V2R, V3R>where
V1: RefUnwindSafe,
V2: RefUnwindSafe,
V3: RefUnwindSafe,
V1R: RefUnwindSafe,
V2R: RefUnwindSafe,
V3R: RefUnwindSafe,
impl<V1, V2, V3, V1R, V2R, V3R> Send for VariantService3<V1, V2, V3, V1R, V2R, V3R>
impl<V1, V2, V3, V1R, V2R, V3R> Sync for VariantService3<V1, V2, V3, V1R, V2R, V3R>
impl<V1, V2, V3, V1R, V2R, V3R> Unpin for VariantService3<V1, V2, V3, V1R, V2R, V3R>
impl<V1, V2, V3, V1R, V2R, V3R> UnwindSafe for VariantService3<V1, V2, V3, V1R, V2R, V3R>where
V1: UnwindSafe,
V2: UnwindSafe,
V3: UnwindSafe,
V1R: UnwindSafe,
V2R: UnwindSafe,
V3R: 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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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