pub struct CommandNext<'a, C>where
C: Command + 'static,{ /* private fields */ }Expand description
Remaining command middleware followed by the final typed handler.
Middleware calls run exactly when it wants processing to
continue. It may validate and short-circuit before that call, or inspect and
transform the result after it completes.
Implementations§
Source§impl<'a, C> CommandNext<'a, C>where
C: Command + 'static,
impl<'a, C> CommandNext<'a, C>where
C: Command + 'static,
Sourcepub fn run(self, command: C) -> BoxFuture<'a, SoapResult<C::Output>>
pub fn run(self, command: C) -> BoxFuture<'a, SoapResult<C::Output>>
Continues the pipeline with the next middleware or final handler.
Trait Implementations§
Auto Trait Implementations§
impl<'a, C> !RefUnwindSafe for CommandNext<'a, C>
impl<'a, C> !UnwindSafe for CommandNext<'a, C>
impl<'a, C> Freeze for CommandNext<'a, C>
impl<'a, C> Send for CommandNext<'a, C>
impl<'a, C> Sync for CommandNext<'a, C>
impl<'a, C> Unpin for CommandNext<'a, C>
impl<'a, C> UnsafeUnpin for CommandNext<'a, C>
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