pub enum DataSrcError {
FailToSetupGlobalDataSrcs {
errors: Vec<(Arc<str>, Err)>,
},
DuringSetupGlobalDataSrcs,
AlreadySetupGlobalDataSrcs,
FailToCastDataConn {
name: Arc<str>,
target_type: &'static str,
},
FailToCreateDataConn {
name: Arc<str>,
data_conn_type: &'static str,
},
NotFoundDataSrcToCreateDataConn {
name: Arc<str>,
data_conn_type: &'static str,
},
}Expand description
An enum type representing the reasons for errors that can occur within DataSrc operations.
Variants§
FailToSetupGlobalDataSrcs
Indicates a failure during the setup process of one or more global data sources. Contains a vector of data source names and their corresponding errors.
DuringSetupGlobalDataSrcs
Indicates that a setup process for global data sources is currently ongoing.
AlreadySetupGlobalDataSrcs
Indicates that global data sources have already been set up.
FailToCastDataConn
Indicates a failure to cast a retrieved DataConn to the expected type.
Fields
FailToCreateDataConn
Fields
NotFoundDataSrcToCreateDataConn
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataSrcError
impl !RefUnwindSafe for DataSrcError
impl Send for DataSrcError
impl Sync for DataSrcError
impl Unpin for DataSrcError
impl UnwindSafe for DataSrcError
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