Enum tokio_nsq::NSQRequeueDelay
source · [−]pub enum NSQRequeueDelay {
NoDelay,
DefaultDelay,
CustomDelay(Duration),
}
Expand description
Control what delay strategy the client will use for calculating requeue timeout
Variants
NoDelay
Requeue the message with no delay.
DefaultDelay
Use the default delay strategy based on number of attempts.
CustomDelay(Duration)
Delay for a specific duration, millisecond precision.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NSQRequeueDelay
impl Send for NSQRequeueDelay
impl Sync for NSQRequeueDelay
impl Unpin for NSQRequeueDelay
impl UnwindSafe for NSQRequeueDelay
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more