Enum persy::BeginTransactionError
source · #[non_exhaustive]pub enum BeginTransactionError {
Generic(GenericError),
InvalidTransactionId,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Generic(GenericError)
InvalidTransactionId
Trait Implementations§
source§impl Debug for BeginTransactionError
impl Debug for BeginTransactionError
source§impl Display for BeginTransactionError
impl Display for BeginTransactionError
source§impl Error for BeginTransactionError
impl Error for BeginTransactionError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<BeginTransactionError> for PersyError
impl From<BeginTransactionError> for PersyError
source§fn from(e: BeginTransactionError) -> Self
fn from(e: BeginTransactionError) -> Self
Converts to this type from the input type.
source§impl From<GenericError> for BeginTransactionError
impl From<GenericError> for BeginTransactionError
source§fn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for BeginTransactionError
impl Send for BeginTransactionError
impl Sync for BeginTransactionError
impl Unpin for BeginTransactionError
impl !UnwindSafe for BeginTransactionError
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