pub struct Next<S> { /* private fields */ }Expand description
The next inner Service in a user Layer chain.
Implementations§
Source§impl<S: Send + Sync + 'static> Next<S>
impl<S: Send + Sync + 'static> Next<S>
Sourcepub fn call(&self, call: IncomingCall<S>) -> ServiceFuture
pub fn call(&self, call: IncomingCall<S>) -> ServiceFuture
Forward call to the next inner Layer or the Router.
Trait Implementations§
Auto Trait Implementations§
impl<S> !RefUnwindSafe for Next<S>
impl<S> !UnwindSafe for Next<S>
impl<S> Freeze for Next<S>
impl<S> Send for Next<S>
impl<S> Sync for Next<S>
impl<S> Unpin for Next<S>
impl<S> UnsafeUnpin for Next<S>where
Arc<dyn Service<S>>: UnsafeUnpin,
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