Struct sqlxmq::JobBuilder [−][src]
pub struct JobBuilder<'a> { /* fields omitted */ }
Expand description
Type for building a job to send.
Implementations
Prepare to send a job with the specified name and ID.
Use the provided function to set any number of configuration options at once.
Set the channel name (default “”).
Set the channel arguments (default “”).
Set the number of retries after the initial attempt (default 4).
Set the initial backoff for retries (default 1s).
Set the commit interval for two-phase commit (default disabled).
Set whether this job is strictly ordered with respect to other ordered job in the same channel (default false).
Set a delay before this job is executed (default none).
Set a raw JSON payload for the job.
Set a raw binary payload for the job.
Set a JSON payload for the job.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for JobBuilder<'a>
impl<'a> Send for JobBuilder<'a>
impl<'a> Sync for JobBuilder<'a>
impl<'a> Unpin for JobBuilder<'a>
impl<'a> UnwindSafe for JobBuilder<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more