pub trait TypeInfo:
Debug
+ Display
+ Clone
+ PartialEq
+ Send
+ Sync {
// Required methods
fn is_null(&self) -> bool;
fn name(&self) -> &str;
}
Expand description
Provides information about a SQL type for the database driver.
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.