pub struct TransactionControlError { /* private fields */ }Expand description
Rejection of a transaction begin operation.
Implementations§
Source§impl TransactionControlError
impl TransactionControlError
Sourcepub const fn kind(self) -> TransactionControlErrorKind
pub const fn kind(self) -> TransactionControlErrorKind
Returns the stable rejection category.
Trait Implementations§
Source§impl Clone for TransactionControlError
impl Clone for TransactionControlError
impl Copy for TransactionControlError
Source§impl Debug for TransactionControlError
impl Debug for TransactionControlError
Source§impl Display for TransactionControlError
impl Display for TransactionControlError
impl Eq for TransactionControlError
Source§impl Error for TransactionControlError
impl Error for TransactionControlError
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 PartialEq for TransactionControlError
impl PartialEq for TransactionControlError
impl StructuralPartialEq for TransactionControlError
Auto Trait Implementations§
impl Freeze for TransactionControlError
impl RefUnwindSafe for TransactionControlError
impl Send for TransactionControlError
impl Sync for TransactionControlError
impl Unpin for TransactionControlError
impl UnsafeUnpin for TransactionControlError
impl UnwindSafe for TransactionControlError
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