pub struct Next { /* private fields */ }Expand description
The remaining middleware chain plus the terminal Endpoint.
It is owned (via Arc clones) and carries no lifetime parameters, so it
threads cleanly through async_trait futures. A Middleware advances the
pipeline by calling Next::run.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Next
impl !UnwindSafe for Next
impl Freeze for Next
impl Send for Next
impl Sync for Next
impl Unpin for Next
impl UnsafeUnpin for Next
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