pub struct InterceptorNext<'a> { /* private fields */ }Expand description
A consuming handle that invokes the next interceptor exactly once.
Implementations§
Source§impl InterceptorNext<'_>
impl InterceptorNext<'_>
Sourcepub fn run<'a>(self, context: &'a mut RequestContext) -> PipelineFuture<'a>where
Self: 'a,
pub fn run<'a>(self, context: &'a mut RequestContext) -> PipelineFuture<'a>where
Self: 'a,
Executes the next interceptor or advances to extraction and the handler.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for InterceptorNext<'a>
impl<'a> !UnwindSafe for InterceptorNext<'a>
impl<'a> Freeze for InterceptorNext<'a>
impl<'a> Send for InterceptorNext<'a>
impl<'a> Sync for InterceptorNext<'a>
impl<'a> Unpin for InterceptorNext<'a>
impl<'a> UnsafeUnpin for InterceptorNext<'a>
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