pub enum TaskSource {
Message(Arc<Message>),
Request(Arc<Request>),
}Expand description
Original task input shared by cloned events without copying the payload.
Variants§
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 Freeze 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