pub trait Query {
// Required methods
fn new(row: &SqliteRow) -> Self;
fn to_row(&self) -> Row;
fn headers() -> Row;
fn read_file() -> String;
// Provided method
fn description() -> String { ... }
}
Required Methods§
fn new(row: &SqliteRow) -> Self
fn to_row(&self) -> Row
fn headers() -> Row
fn read_file() -> String
Provided Methods§
fn description() -> String
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.