Skip to main content

Log2Policy

Trait Log2Policy 

Source
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§

Source

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".

Implementors§