Skip to main content

ToStatement

Trait ToStatement 

Source
pub trait ToStatement: Sealed + Sync { }
Expand description

What a query method runs: a query string (str, String), or a Statement prepared earlier. Sealed: these are the only ones.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ToStatement for String

Source§

impl ToStatement for str

Implementors§