Enum nsq::message::MessageReply
[−]
[src]
pub enum MessageReply { Fin(BytesMut), Req(BytesMut), Touch(BytesMut), Nop, }
MessageReply
tells nsqd what to do with the message that was previously consumed.
Variants
Fin(BytesMut)
Fin
tells the consumer to finish a message.
Req(BytesMut)
Req
tells the consumer to requeue a message.
Touch(BytesMut)
Touch
tells the consumer to touch the message updating the TTL.
Nop
Nop
is typically used only for heartbeats.