A trait used by clients to abstract over
&dyn ToSql and
This cannot be implemented outside of this crate.
Returns a reference to
self as a
ToSql trait object.
Implementations on Foreign Types§
In async contexts it is sometimes necessary to have the additional Sync requirement on parameters for queries since this enables the resulting Futures to be Send, hence usable in, e.g., tokio::spawn. This instance is provided for those cases.