Struct worker::RawMessage
source · pub struct RawMessage { /* private fields */ }
Expand description
A message that is sent to a consumer Worker.
Implementations§
Trait Implementations§
source§impl From<Message> for RawMessage
impl From<Message> for RawMessage
source§fn from(value: MessageSys) -> Self
fn from(value: MessageSys) -> Self
Converts to this type from the input type.
source§impl<T> TryFrom<RawMessage> for Message<T>where
T: DeserializeOwned,
impl<T> TryFrom<RawMessage> for Message<T>where
T: DeserializeOwned,
Auto Trait Implementations§
impl Freeze for RawMessage
impl RefUnwindSafe for RawMessage
impl !Send for RawMessage
impl !Sync for RawMessage
impl Unpin for RawMessage
impl UnwindSafe for RawMessage
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.