Struct rdkafka::client::NativeClient
[−]
[src]
pub struct NativeClient { /* fields omitted */ }
A native rdkafka-sys client. This struct shouldn't be used directly. Use higher level Client
or producers and consumers.
Methods
impl NativeClient
[src]
fn from_ptr(ptr: *mut RDKafka) -> NativeClient
Wraps a pointer to an RDKafka object and returns a new NativeClient.
fn ptr(&self) -> *mut RDKafka
Returns the wrapped pointer to RDKafka.