pub struct TerminateTransactionResult { /* private fields */ }Expand description
The result of Admin::force_terminate_transaction.
Corresponds to org.apache.kafka.clients.admin.TerminateTransactionResult.
Implementations§
Source§impl TerminateTransactionResult
impl TerminateTransactionResult
Sourcepub fn result(&self) -> KafkaFuture<()>
pub fn result(&self) -> KafkaFuture<()>
Return a future which indicates whether the transaction was successfully terminated.
Mirrors TerminateTransactionResult.result.
Trait Implementations§
Source§impl Clone for TerminateTransactionResult
impl Clone for TerminateTransactionResult
Source§fn clone(&self) -> TerminateTransactionResult
fn clone(&self) -> TerminateTransactionResult
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 TerminateTransactionResult
impl !RefUnwindSafe for TerminateTransactionResult
impl Send for TerminateTransactionResult
impl Sync for TerminateTransactionResult
impl Unpin for TerminateTransactionResult
impl UnsafeUnpin for TerminateTransactionResult
impl !UnwindSafe for TerminateTransactionResult
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