pub struct ListGroupsResult { /* private fields */ }Expand description
The result of Admin::list_groups.
Implementations§
Source§impl ListGroupsResult
impl ListGroupsResult
Sourcepub fn all(&self) -> KafkaFuture<Vec<GroupListing>>
pub fn all(&self) -> KafkaFuture<Vec<GroupListing>>
Returns a future yielding either the first error, or the full set of listings.
Sourcepub fn valid(&self) -> KafkaFuture<Vec<GroupListing>>
pub fn valid(&self) -> KafkaFuture<Vec<GroupListing>>
Returns a future which yields just the valid listings.
This future never fails with an error, no matter what happens. Errors are completely ignored. If nothing can be fetched, an empty collection is yielded. If there is an error, but some results can be returned, this future will yield those partial results. When using this future, it is a good idea to also check the errors future so that errors can be displayed and handled.
Sourcepub fn errors(&self) -> KafkaFuture<Vec<Error>>
pub fn errors(&self) -> KafkaFuture<Vec<Error>>
Returns a future which yields just the errors which occurred.
If this future yields a non-empty collection, it is very likely that elements are missing
from the valid set.
This future itself never fails with an error. In the event of an error, this future will successfully yield a collection containing at least one error.
Trait Implementations§
Source§impl Clone for ListGroupsResult
impl Clone for ListGroupsResult
Source§fn clone(&self) -> ListGroupsResult
fn clone(&self) -> ListGroupsResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more