pub enum RelationalErrorSurface {
Storage,
Execution,
}Expand description
The layer that reported a relational refusal. It selects the message
prefix, storage error: or execution error:, and lets bindings keep the
error type that layer has always produced.
Variants§
Storage
Reported through storage, as an autocommit statement’s commit does.
Execution
Reported by a statement inside an explicit transaction.
Trait Implementations§
Source§impl Clone for RelationalErrorSurface
impl Clone for RelationalErrorSurface
impl Copy for RelationalErrorSurface
Source§impl Debug for RelationalErrorSurface
impl Debug for RelationalErrorSurface
impl Eq for RelationalErrorSurface
Source§impl Hash for RelationalErrorSurface
impl Hash for RelationalErrorSurface
Source§impl PartialEq for RelationalErrorSurface
impl PartialEq for RelationalErrorSurface
impl StructuralPartialEq for RelationalErrorSurface
Auto Trait Implementations§
impl Forget for RelationalErrorSurface
impl Freeze for RelationalErrorSurface
impl Move for RelationalErrorSurface
impl RefUnwindSafe for RelationalErrorSurface
impl Send for RelationalErrorSurface
impl Sync for RelationalErrorSurface
impl Unpin for RelationalErrorSurface
impl UnsafeUnpin for RelationalErrorSurface
impl UnwindSafe for RelationalErrorSurface
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