Trait rdkafka::util::IntoOpaque
source · pub trait IntoOpaque:
Send
+ Sync
+ Sized {
// Required methods
fn into_ptr(self) -> *mut c_void;
unsafe fn from_ptr(_: *mut c_void) -> Self;
}
Expand description
Converts Rust data to and from raw pointers.
This conversion is used to pass opaque objects to the C library and vice versa.
Required Methods§
Object Safety§
This trait is not object safe.