pub struct Next {
pub middlewares: Arc<Vec<BoxMiddleware>>,
pub endpoint: Arc<BoxHandler>,
}Expand description
Represents the next step in the middleware execution chain.
Fields§
§middlewares: Arc<Vec<BoxMiddleware>>Remaining middlewares to be executed in the chain.
endpoint: Arc<BoxHandler>Final endpoint handler to be called after all middlewares.
Implementations§
Auto Trait Implementations§
impl Freeze for Next
impl !RefUnwindSafe for Next
impl Send for Next
impl Sync for Next
impl Unpin for Next
impl !UnwindSafe 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