pub trait DefaultSortKeys {
// Required method
fn keys() -> Vec<String>;
// Provided method
fn order_by_stmt(direction: Direction) -> String { ... }
}Required Methods§
Provided Methods§
fn order_by_stmt(direction: Direction) -> 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.