Struct rdkafka::groups::GroupList
[−]
[src]
pub struct GroupList(_);
List of groups. This structure wraps the pointer returned by rdkafka-sys, and deallocates all the native resources when dropped.
Methods
impl GroupList
[src]
pub unsafe fn from_ptr(ptr: *const RDKafkaGroupList) -> GroupList
[src]
Creates a new group list given a pointer to the native rdkafka-sys group list structure.
pub fn groups(&self) -> &[GroupInfo]
[src]
Returns all the groups in the list.