Skip to main content

ToStatement

Trait ToStatement 

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

A sealed trait for values accepted as a query: a SQL string (str, String) or a prepared Statement.

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§