Trait diesel::backend::HasBindCollector

source ·
pub trait HasBindCollector<'a>: TypeMetadata + Sized {
    type BindCollector: BindCollector<'a, Self> + 'a;
}
Expand description

The bind collector type used to collect query binds for this backend

This trait is separate from Backend to imitate type BindCollector<'a>. It should only be referenced directly by implementors. Users of this type should instead use the BindCollector helper type instead.

Required Associated Types§

source

type BindCollector: BindCollector<'a, Self> + 'a

The concrete BindCollector implementation for this backend.

Most backends should use RawBytesBindCollector.

Object Safety§

This trait is not object safe.

Implementors§