pub enum TypedOperationError {
Adapter(TypedAdapterError),
Database(Error),
}Expand description
Failure while binding, decoding, or executing one typed operation.
Variants§
Adapter(TypedAdapterError)
Generated shape, binding, or returned-row validation failed.
Database(Error)
The accepted database operation rejected or failed.
Trait Implementations§
Source§impl Debug for TypedOperationError
impl Debug for TypedOperationError
Source§impl Display for TypedOperationError
impl Display for TypedOperationError
Source§impl Error for TypedOperationError
impl Error for TypedOperationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<Error> for TypedOperationError
impl From<Error> for TypedOperationError
Source§impl From<TypedAdapterError> for TypedOperationError
impl From<TypedAdapterError> for TypedOperationError
Source§fn from(error: TypedAdapterError) -> Self
fn from(error: TypedAdapterError) -> Self
Converts to this type from the input type.
Source§impl From<TypedOperationError> for TypedExhaustiveQueryError
impl From<TypedOperationError> for TypedExhaustiveQueryError
Source§fn from(error: TypedOperationError) -> Self
fn from(error: TypedOperationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TypedOperationError
impl RefUnwindSafe for TypedOperationError
impl Send for TypedOperationError
impl Sync for TypedOperationError
impl Unpin for TypedOperationError
impl UnsafeUnpin for TypedOperationError
impl UnwindSafe for TypedOperationError
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