pub struct VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R> { /* private fields */ }Trait Implementations
sourceimpl<V1: Clone, V2: Clone, V3: Clone, V4: Clone, V1R, V2R, V3R, V4R> Clone for VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R>
impl<V1: Clone, V2: Clone, V3: Clone, V4: Clone, V1R, V2R, V3R, V4R> Clone for VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R>
sourceimpl<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::Response, Error = V1::Error>,
V3: Service<V3R, Response = V1::Response, Error = V1::Error>,
V4: Service<V4R, Response = V1::Response, Error = V1::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::Response, Error = V1::Error>,
V3: Service<V3R, Response = V1::Response, Error = V1::Error>,
V4: Service<V4R, Response = V1::Response, Error = V1::Error>,
type Future = ServiceResponse<V1::Future, V2::Future, V3::Future, V4::Future>
type Future = ServiceResponse<V1::Future, V2::Future, V3::Future, V4::Future>
The future response value.
sourcefn 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 more
sourcefn poll_shutdown(&self, cx: &mut Context<'_>, is_error: bool) -> Poll<()>
fn poll_shutdown(&self, cx: &mut Context<'_>, is_error: bool) -> Poll<()>
Shutdown service. Read more
sourcefn call(&self, req: Variant4<V1R, V2R, V3R, V4R>) -> Self::Future
fn call(&self, req: Variant4<V1R, V2R, V3R, V4R>) -> Self::Future
Process the request and return the response asynchronously. Read more
Auto Trait Implementations
impl<V1, V2, V3, V4, V1R, V2R, V3R, V4R> RefUnwindSafe for VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R> where
V1: RefUnwindSafe,
V1R: RefUnwindSafe,
V2: RefUnwindSafe,
V2R: RefUnwindSafe,
V3: RefUnwindSafe,
V3R: RefUnwindSafe,
V4: RefUnwindSafe,
V4R: RefUnwindSafe,
impl<V1, V2, V3, V4, V1R, V2R, V3R, V4R> Send for VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R> where
V1: Send,
V1R: Send,
V2: Send,
V2R: Send,
V3: Send,
V3R: Send,
V4: Send,
V4R: Send,
impl<V1, V2, V3, V4, V1R, V2R, V3R, V4R> Sync for VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R> where
V1: Sync,
V1R: Sync,
V2: Sync,
V2R: Sync,
V3: Sync,
V3R: Sync,
V4: Sync,
V4R: Sync,
impl<V1, V2, V3, V4, V1R, V2R, V3R, V4R> Unpin for VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R> where
V1: Unpin,
V1R: Unpin,
V2: Unpin,
V2R: Unpin,
V3: Unpin,
V3R: Unpin,
V4: Unpin,
V4R: Unpin,
impl<V1, V2, V3, V4, V1R, V2R, V3R, V4R> UnwindSafe for VariantService4<V1, V2, V3, V4, V1R, V2R, V3R, V4R> where
V1: UnwindSafe,
V1R: UnwindSafe,
V2: UnwindSafe,
V2R: UnwindSafe,
V3: UnwindSafe,
V3R: UnwindSafe,
V4: UnwindSafe,
V4R: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T, Req> IntoService<T, Req> for T where
T: Service<Req>,
impl<T, Req> IntoService<T, Req> for T where
T: Service<Req>,
sourcepub fn into_service(self) -> T
pub fn into_service(self) -> T
Convert to a Service
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more