Available on crate feature
sync-connection-wrapper
only.Expand description
This module contains a wrapper type
that provides a crate::AsyncConnection
implementation for types that implement
diesel::Connection
. Using this type
might be useful for the following usecases:
- using a sync Connection implementation in async context
- using the same code base for async crates needing multiple backends
Structsยง
- A wrapper of a
diesel::connection::Connection
usable in async context. - A wrapper of a diesel transaction manager usable in async context.