pub struct Message<T> { /* private fields */ }
Expand description
A message that is sent to a consumer Worker.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Message<T>where
T: Freeze,
impl<T> RefUnwindSafe for Message<T>where
T: RefUnwindSafe,
impl<T> !Send for Message<T>
impl<T> !Sync for Message<T>
impl<T> Unpin for Message<T>where
T: Unpin,
impl<T> UnwindSafe for Message<T>where
T: UnwindSafe,
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
Source§impl<T> MessageExt for Twhere
T: MessageSysInner,
impl<T> MessageExt for Twhere
T: MessageSysInner,
Source§fn retry_with_options(&self, queue_retry_options: &QueueRetryOptions)
fn retry_with_options(&self, queue_retry_options: &QueueRetryOptions)
Marks message to be retried with options.