Struct rdkafka_wrap::client::NativeClient
source · pub struct NativeClient { /* private fields */ }
Expand description
A native rdkafka-sys client. This struct shouldn’t be used directly. Use
higher level Client
or producers and consumers.
Implementations§
source§impl NativeClient
impl NativeClient
sourcepub fn ptr(&self) -> *mut rd_kafka_s
pub fn ptr(&self) -> *mut rd_kafka_s
Returns the wrapped pointer to RDKafka.
Trait Implementations§
impl Send for NativeClient
impl Sync for NativeClient
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more