pub struct RemoveMembersFromConsumerGroupResult { /* private fields */ }Expand description
The result of Admin::remove_members_from_consumer_group.
Corresponds to
org.apache.kafka.clients.admin.RemoveMembersFromConsumerGroupResult.
Implementations§
Source§impl RemoveMembersFromConsumerGroupResult
impl RemoveMembersFromConsumerGroupResult
Sourcepub fn all(&self) -> KafkaFuture<()>
pub fn all(&self) -> KafkaFuture<()>
Returns a future which indicates whether the request was 100% successful (no top-level or member-level error); otherwise the first member error is returned.
Mirrors all().
Sourcepub fn member_result(
&self,
member: &MemberToRemove,
) -> Result<KafkaFuture<()>, Error>
pub fn member_result( &self, member: &MemberToRemove, ) -> Result<KafkaFuture<()>, Error>
Returns the selected member’s future.
Mirrors memberResult(MemberToRemove).
§Errors
Returns an error immediately (Java’s IllegalArgumentException) when
called in removeAll mode, or when member was not part of the original
request. The returned future fails if the member’s removal failed (or the
member is missing from the response).
Trait Implementations§
Source§impl Clone for RemoveMembersFromConsumerGroupResult
impl Clone for RemoveMembersFromConsumerGroupResult
Source§fn clone(&self) -> RemoveMembersFromConsumerGroupResult
fn clone(&self) -> RemoveMembersFromConsumerGroupResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RemoveMembersFromConsumerGroupResult
impl !RefUnwindSafe for RemoveMembersFromConsumerGroupResult
impl Send for RemoveMembersFromConsumerGroupResult
impl Sync for RemoveMembersFromConsumerGroupResult
impl Unpin for RemoveMembersFromConsumerGroupResult
impl UnsafeUnpin for RemoveMembersFromConsumerGroupResult
impl !UnwindSafe for RemoveMembersFromConsumerGroupResult
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