Struct carrot_cake::publishers::Next
source · pub struct Next<'a> { /* private fields */ }
Expand description
The remainder of the publishing middleware chain, including the final publishing action.
Implementations§
source§impl<'a> Next<'a>
impl<'a> Next<'a>
sourcepub async fn run(
self,
envelope: MessageEnvelope,
extensions: &mut Extensions
) -> Result<(), PublisherError>
pub async fn run( self, envelope: MessageEnvelope, extensions: &mut Extensions ) -> Result<(), PublisherError>
Asynchronously execute the remaining processing middleware chain.
Auto Trait Implementations§
impl<'a> Freeze for Next<'a>
impl<'a> !RefUnwindSafe for Next<'a>
impl<'a> Send for Next<'a>
impl<'a> Sync for Next<'a>
impl<'a> Unpin for Next<'a>
impl<'a> !UnwindSafe for Next<'a>
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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