pub struct ComposedMiddleware<M1, M2> { /* private fields */ }
Expand description
A composed middleware that executes two middleware in sequence
Implementations§
Source§impl<M1, M2> ComposedMiddleware<M1, M2>
impl<M1, M2> ComposedMiddleware<M1, M2>
Source§impl<M1, M2> ComposedMiddleware<M1, M2>where
M1: Middleware + 'static,
M2: Middleware + 'static,
impl<M1, M2> ComposedMiddleware<M1, M2>where
M1: Middleware + 'static,
M2: Middleware + 'static,
Sourcepub fn to_pipeline(self) -> MiddlewarePipelineV2
pub fn to_pipeline(self) -> MiddlewarePipelineV2
Convert to a pipeline for easier execution
Trait Implementations§
Auto Trait Implementations§
impl<M1, M2> Freeze for ComposedMiddleware<M1, M2>
impl<M1, M2> RefUnwindSafe for ComposedMiddleware<M1, M2>where
M1: RefUnwindSafe,
M2: RefUnwindSafe,
impl<M1, M2> Send for ComposedMiddleware<M1, M2>
impl<M1, M2> Sync for ComposedMiddleware<M1, M2>
impl<M1, M2> Unpin for ComposedMiddleware<M1, M2>
impl<M1, M2> UnwindSafe for ComposedMiddleware<M1, M2>where
M1: UnwindSafe,
M2: 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