pub trait Log2Policy {
type Nullable: Nullability;
}Expand description
Dialects that provide LOG2, and the nullability of its result.
Implemented for SQLite and MySQL, which both return NULL outside the
logarithm’s domain. PostgreSQL has no LOG2.
Required Associated Types§
Sourcetype Nullable: Nullability
type Nullable: Nullability
Nullability of the LOG2 result.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".