pub enum TaskSource {
RequestOperation(Arc<Metadata>),
Message(Arc<Message>),
Request(Arc<Request>),
}Expand description
Original task input shared by cloned events without copying the payload.
Variants§
RequestOperation(Arc<Metadata>)
Metadata for a logical request whose wire payload is generated per attempt. The factory and idempotency key are deliberately excluded.
Message(Arc<Message>)
A message send that has no response tracking.
Request(Arc<Request>)
A request whose business response is tracked.
Trait Implementations§
Source§impl Clone for TaskSource
impl Clone for TaskSource
Auto Trait Implementations§
impl Forget for TaskSource
impl Freeze for TaskSource
impl Move for TaskSource
impl RefUnwindSafe for TaskSource
impl Send for TaskSource
impl Sync for TaskSource
impl Unpin for TaskSource
impl UnsafeUnpin for TaskSource
impl UnwindSafe for TaskSource
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