Struct rdkafka::client::EmptyContext [] [src]

pub struct EmptyContext;

An empty context that can be used when no context is needed.

Methods

impl EmptyContext
[src]

Trait Implementations

impl Clone for EmptyContext
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for EmptyContext
[src]

[src]

Returns the "default value" for a type. Read more

impl Context for EmptyContext
[src]

[src]

Receives log lines from librdkafka.

[src]

Receives the statistics of the librdkafka client. To enable, the "statistics.interval.ms" configuration parameter must be specified. Read more

[src]

Receives global errors from the librdkafka client.