pub trait SortExt {
// Required methods
fn from_desc_bool(desc: bool) -> Sort;
fn from_mysql_str(s: &str) -> Option<Sort>;
fn from_str(s: &str) -> Option<Sort>;
fn to_str(&self) -> &'static str;
}Required Methods§
fn from_desc_bool(desc: bool) -> Sort
fn from_mysql_str(s: &str) -> Option<Sort>
fn from_str(s: &str) -> Option<Sort>
fn to_str(&self) -> &'static str
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.