Trait diesel::backend::HasBindCollector
source · pub trait HasBindCollector<'a>: TypeMetadata + Sized {
type BindCollector: BindCollector<'a, Self> + 'a;
}
Available on crate feature
i-implement-a-third-party-backend-and-opt-into-breaking-changes
only.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§
sourcetype BindCollector: BindCollector<'a, Self> + 'a
type BindCollector: BindCollector<'a, Self> + 'a
The concrete BindCollector
implementation for this backend.
Most backends should use RawBytesBindCollector
.
Implementors§
source§impl<'a> HasBindCollector<'a> for Mysql
Available on crate feature mysql_backend
only.
impl<'a> HasBindCollector<'a> for Mysql
Available on crate feature
mysql_backend
only.type BindCollector = RawBytesBindCollector<Mysql>
source§impl<'a> HasBindCollector<'a> for Pg
Available on crate feature postgres_backend
only.
impl<'a> HasBindCollector<'a> for Pg
Available on crate feature
postgres_backend
only.type BindCollector = RawBytesBindCollector<Pg>
source§impl<'a> HasBindCollector<'a> for Sqlite
Available on crate feature sqlite
only.
impl<'a> HasBindCollector<'a> for Sqlite
Available on crate feature
sqlite
only.