pub trait DatabaseExt: Database + TypeChecking {
const DATABASE_PATH: &'static str;
const ROW_PATH: &'static str;
// Required method
fn describe_blocking(
query: &str,
database_url: &str,
driver_config: &Config,
) -> Result<Describe<Self>>;
// Provided methods
fn db_path() -> Path { ... }
fn row_path() -> Path { ... }
}Required Associated Constants§
Required Methods§
fn describe_blocking( query: &str, database_url: &str, driver_config: &Config, ) -> Result<Describe<Self>>
Provided 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.