Struct rdkafka::producer::DefaultProducerContext
source · [−]pub struct DefaultProducerContext;
Expand description
An inert producer context that can be used when customizations are not required.
Trait Implementations
Receives log lines from librdkafka. Read more
Receives the decoded statistics of the librdkafka client. To enable, the
statistics.interval.ms
configuration parameter must be specified. Read more
Receives the JSON-encoded statistics of the librdkafka client. To
enable, the statistics.interval.ms
configuration parameter must be
specified. Read more
Receives global errors from the librdkafka client. Read more
type DeliveryOpaque = ()
type DeliveryOpaque = ()
A DeliveryOpaque
is a user-defined structure that will be passed to
the producer when producing a message, and returned to the delivery
method once the message has been delivered, or failed to. Read more
This method will be called once the message has been delivered (or
failed to). The DeliveryOpaque
will be the one provided by the user
when calling send. Read more
Auto Trait Implementations
impl RefUnwindSafe for DefaultProducerContext
impl Send for DefaultProducerContext
impl Sync for DefaultProducerContext
impl Unpin for DefaultProducerContext
impl UnwindSafe for DefaultProducerContext
Blanket Implementations
Mutably borrows from an owned value. Read more