Trait worker::MessageExt
source · pub trait MessageExt {
// Required methods
fn id(&self) -> String;
fn timestamp(&self) -> Date;
fn retry(&self);
fn retry_with_options(&self, queue_retry_options: &QueueRetryOptions);
fn ack(&self);
}
Required Methods§
sourcefn retry_with_options(&self, queue_retry_options: &QueueRetryOptions)
fn retry_with_options(&self, queue_retry_options: &QueueRetryOptions)
Marks message to be retried with options.