Trait postgres::ToStatement[][src]

pub trait ToStatement: Sealed { }

A trait abstracting over prepared and unprepared statements.

Many methods are generic over this bound, so that they support both a raw query string as well as a statement which was prepared previously.

This trait is “sealed” and cannot be implemented by anything outside this crate.

Implementations on Foreign Types

impl ToStatement for str[src]

Loading content...

Implementors

impl ToStatement for Statement[src]

Loading content...