pub enum ThriftHiveMetastoreCommitTxnException {
O1(NoSuchTxnException),
O2(TxnAbortedException),
}
Variants§
Trait Implementations§
source§impl Clone for ThriftHiveMetastoreCommitTxnException
impl Clone for ThriftHiveMetastoreCommitTxnException
source§fn clone(&self) -> ThriftHiveMetastoreCommitTxnException
fn clone(&self) -> ThriftHiveMetastoreCommitTxnException
Returns a copy 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 Message for ThriftHiveMetastoreCommitTxnException
impl Message for ThriftHiveMetastoreCommitTxnException
fn encode<T: TOutputProtocol>( &self, protocol: &mut T, ) -> Result<(), ThriftException>
fn decode<T: TInputProtocol>(protocol: &mut T) -> Result<Self, ThriftException>
fn decode_async<'a, T: TAsyncInputProtocol>( protocol: &'a mut T, ) -> Pin<Box<dyn Future<Output = Result<Self, ThriftException>> + Send + 'a>>
fn size<T: TLengthProtocol>(&self, protocol: &mut T) -> usize
source§impl Ord for ThriftHiveMetastoreCommitTxnException
impl Ord for ThriftHiveMetastoreCommitTxnException
source§fn cmp(&self, other: &ThriftHiveMetastoreCommitTxnException) -> Ordering
fn cmp(&self, other: &ThriftHiveMetastoreCommitTxnException) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ThriftHiveMetastoreCommitTxnException
impl PartialEq for ThriftHiveMetastoreCommitTxnException
source§fn eq(&self, other: &ThriftHiveMetastoreCommitTxnException) -> bool
fn eq(&self, other: &ThriftHiveMetastoreCommitTxnException) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ThriftHiveMetastoreCommitTxnException
impl PartialOrd for ThriftHiveMetastoreCommitTxnException
source§fn partial_cmp(
&self,
other: &ThriftHiveMetastoreCommitTxnException,
) -> Option<Ordering>
fn partial_cmp( &self, other: &ThriftHiveMetastoreCommitTxnException, ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for ThriftHiveMetastoreCommitTxnException
impl StructuralPartialEq for ThriftHiveMetastoreCommitTxnException
Auto Trait Implementations§
impl !Freeze for ThriftHiveMetastoreCommitTxnException
impl RefUnwindSafe for ThriftHiveMetastoreCommitTxnException
impl Send for ThriftHiveMetastoreCommitTxnException
impl Sync for ThriftHiveMetastoreCommitTxnException
impl Unpin for ThriftHiveMetastoreCommitTxnException
impl UnwindSafe for ThriftHiveMetastoreCommitTxnException
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