pub struct TransactionException {
pub exc: Option<String>,
}Fields§
§exc: Option<String>Implementations§
Source§impl TransactionException
impl TransactionException
pub fn new<F1>(exc: F1) -> TransactionException
pub fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol, ) -> Result<TransactionException>
pub fn write_to_out_protocol( &self, o_prot: &mut dyn TOutputProtocol, ) -> Result<()>
Trait Implementations§
Source§impl Clone for TransactionException
impl Clone for TransactionException
Source§fn clone(&self) -> TransactionException
fn clone(&self) -> TransactionException
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 TransactionException
impl Debug for TransactionException
Source§impl Default for TransactionException
impl Default for TransactionException
Source§impl Display for TransactionException
impl Display for TransactionException
Source§impl Error for TransactionException
impl Error for TransactionException
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<TransactionException> for Error
impl From<TransactionException> for Error
Source§fn from(e: TransactionException) -> Self
fn from(e: TransactionException) -> Self
Converts to this type from the input type.
Source§impl Hash for TransactionException
impl Hash for TransactionException
Source§impl Ord for TransactionException
impl Ord for TransactionException
Source§fn cmp(&self, other: &TransactionException) -> Ordering
fn cmp(&self, other: &TransactionException) -> 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 TransactionException
impl PartialEq for TransactionException
Source§impl PartialOrd for TransactionException
impl PartialOrd for TransactionException
impl Eq for TransactionException
impl StructuralPartialEq for TransactionException
Auto Trait Implementations§
impl Freeze for TransactionException
impl RefUnwindSafe for TransactionException
impl Send for TransactionException
impl Sync for TransactionException
impl Unpin for TransactionException
impl UnwindSafe for TransactionException
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.