Trait Binding

Source
pub trait Binding {
    type Bindings;

    // Required methods
    fn bindings(binder: &mut Binder) -> Self::Bindings;
    fn write_types(sql: &mut String);
    fn write_values(&self, sql: &mut String);
}

Required Associated Types§

Required Methods§

Source

fn bindings(binder: &mut Binder) -> Self::Bindings

Source

fn write_types(sql: &mut String)

Source

fn write_values(&self, sql: &mut String)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§