pub trait DbContextExt<T> {
// Required method
fn context(self, msg: impl Into<String>) -> Result<T, DatabaseError>;
}Expand description
The trait wrapping the SQL error with the context information.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.