pub struct DescribeTransactionsResult { /* private fields */ }Expand description
The result of Admin::describe_transactions.
Implementations§
Source§impl DescribeTransactionsResult
impl DescribeTransactionsResult
Sourcepub fn description(
&self,
transactional_id: &str,
) -> Result<KafkaFuture<TransactionDescription>, Error>
pub fn description( &self, transactional_id: &str, ) -> Result<KafkaFuture<TransactionDescription>, Error>
Get the description of a specific transactional id.
§Arguments
transactional_id- the transactional ID to describe
§Returns
a future which completes when the transaction description of a particular transactional ID is available.
§Errors
Error::is_local_illegal_argument_erroriftransactional_idwas not included in the respective call toAdmin::describe_transactions.
Sourcepub fn all(&self) -> KafkaFuture<HashMap<String, TransactionDescription>>
pub fn all(&self) -> KafkaFuture<HashMap<String, TransactionDescription>>
Get a future yielding a map of every requested transactional id’s description. Fails if any transactional id’s request fails.
§Returns
a future which either completes when all transaction descriptions complete or fails if any of the descriptions cannot be obtained
Trait Implementations§
Source§impl Clone for DescribeTransactionsResult
impl Clone for DescribeTransactionsResult
Source§fn clone(&self) -> DescribeTransactionsResult
fn clone(&self) -> DescribeTransactionsResult
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 DescribeTransactionsResult
impl !RefUnwindSafe for DescribeTransactionsResult
impl Send for DescribeTransactionsResult
impl Sync for DescribeTransactionsResult
impl Unpin for DescribeTransactionsResult
impl UnsafeUnpin for DescribeTransactionsResult
impl !UnwindSafe for DescribeTransactionsResult
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