Enum clia_rustorm::error::DataOpError
source · [−]pub enum DataOpError {
ConstraintError {
severity: String,
code: String,
message: String,
detail: Option<String>,
cause_table: Option<String>,
constraint: Option<String>,
column: Option<String>,
datatype: Option<String>,
sql: String,
},
GenericError {
message: String,
sql: Option<String>,
},
}Variants
ConstraintError
The Data Delete Operation failed due record is still referenced from another table
GenericError
Trait Implementations
sourceimpl Debug for DataOpError
impl Debug for DataOpError
sourceimpl Display for DataOpError
impl Display for DataOpError
sourceimpl Error for DataOpError
impl Error for DataOpError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<DataOpError> for DbError
impl From<DataOpError> for DbError
sourcefn from(source: DataOpError) -> Self
fn from(source: DataOpError) -> Self
Converts to this type from the input type.
sourceimpl From<PlatformError> for DataOpError
impl From<PlatformError> for DataOpError
sourcefn from(platform_error: PlatformError) -> Self
fn from(platform_error: PlatformError) -> Self
attempt to convert platform specific error to DataOpeation error
Auto Trait Implementations
impl RefUnwindSafe for DataOpError
impl Send for DataOpError
impl Sync for DataOpError
impl Unpin for DataOpError
impl UnwindSafe for DataOpError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more