pub struct AbortTransactionOptions { /* private fields */ }Expand description
Options for Admin::abort_transaction.
Implementations§
Source§impl AbortTransactionOptions
impl AbortTransactionOptions
Sourcepub fn set_timeout_ms(self, timeout_ms: Option<i32>) -> Self
pub fn set_timeout_ms(self, timeout_ms: Option<i32>) -> Self
Sourcepub fn timeout_ms(&self) -> Option<i32>
pub fn timeout_ms(&self) -> Option<i32>
Returns the timeout in milliseconds for this operation, or None if the
default API timeout for the AdminClient should be used.
Trait Implementations§
Source§impl Clone for AbortTransactionOptions
impl Clone for AbortTransactionOptions
Source§fn clone(&self) -> AbortTransactionOptions
fn clone(&self) -> AbortTransactionOptions
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 moreSource§impl Debug for AbortTransactionOptions
impl Debug for AbortTransactionOptions
Source§impl Default for AbortTransactionOptions
impl Default for AbortTransactionOptions
Source§fn default() -> AbortTransactionOptions
fn default() -> AbortTransactionOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AbortTransactionOptions
impl RefUnwindSafe for AbortTransactionOptions
impl Send for AbortTransactionOptions
impl Sync for AbortTransactionOptions
impl Unpin for AbortTransactionOptions
impl UnsafeUnpin for AbortTransactionOptions
impl UnwindSafe for AbortTransactionOptions
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