pub struct EosReplies;Expand description
The PublishTransform relaying EOS_SOURCE_HEADER from the originating delivery onto
the reply, so the pipeline’s Publisher impl can pair the reply with its consumed offset.
EosPipeline::replies wires it for you; name it directly to keep the explicit
TypedPublisher form: TypedPublisher::new(pipeline.clone()).transform(EosReplies).
Generic over the handler’s context type, so bare handlers (no ctx parameter, no Ctx
extractors) work.
Trait Implementations§
Source§impl Clone for EosReplies
impl Clone for EosReplies
Source§fn clone(&self) -> EosReplies
fn clone(&self) -> EosReplies
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EosReplies
Source§impl Debug for EosReplies
impl Debug for EosReplies
Source§impl Default for EosReplies
impl Default for EosReplies
Source§fn default() -> EosReplies
fn default() -> EosReplies
Returns the “default value” for a type. Read more
Source§impl<C> PublishTransform<C> for EosReplies
impl<C> PublishTransform<C> for EosReplies
Source§fn apply(&self, out: &mut Outgoing<'_>, cx: &PublishContext<'_, C>)
fn apply(&self, out: &mut Outgoing<'_>, cx: &PublishContext<'_, C>)
Transforms
out in place before it is sent, reading the delivery through cx.Auto Trait Implementations§
impl Freeze for EosReplies
impl RefUnwindSafe for EosReplies
impl Send for EosReplies
impl Sync for EosReplies
impl Unpin for EosReplies
impl UnsafeUnpin for EosReplies
impl UnwindSafe for EosReplies
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