pub enum DataConnError {
FailToPreCommitDataConn {
errors: Vec<(Arc<str>, Err)>,
},
FailToCommitDataConn {
errors: Vec<(Arc<str>, Err)>,
},
FailToCastDataConn {
name: Arc<str>,
target_type: &'static str,
},
}Expand description
An enum type representing the reasons for errors that can occur within DataConn operations.
Variants§
FailToPreCommitDataConn
Indicates a failure during the pre-commit process of one or more DataConn instances
involved in a transaction.
Contains a vector of data connection names and their corresponding errors.
Fields
FailToCommitDataConn
Indicates a failure during the commit process of one or more DataConn instances
involved in a transaction.
Contains a vector of data connection names and their corresponding errors.
Fields
FailToCastDataConn
Indicates a failure to cast a retrieved DataConn to the expected type.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataConnError
impl !RefUnwindSafe for DataConnError
impl Send for DataConnError
impl Sync for DataConnError
impl Unpin for DataConnError
impl UnwindSafe for DataConnError
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