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 tells the consumer to finish a message.

Req tells the consumer to requeue a message.

Touch tells the consumer to touch the message updating the TTL.

Nop is typically used only for heartbeats.