pub trait DataTypeExt {
// Required methods
fn name(self) -> &'static str;
fn accepts_character_data(self) -> bool;
fn accepts_binary_data(self) -> bool;
fn accepts_numeric_data(self) -> bool;
}Expand description
Helper predicates for odbc-api data type groups.
Required Methods§
Sourcefn accepts_character_data(self) -> bool
fn accepts_character_data(self) -> bool
Returns whether this type carries character data.
Sourcefn accepts_binary_data(self) -> bool
fn accepts_binary_data(self) -> bool
Returns whether this type carries binary data.
Sourcefn accepts_numeric_data(self) -> bool
fn accepts_numeric_data(self) -> bool
Returns whether this type carries numeric data.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".