diesel_async

Module sync_connection_wrapper

Source
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ยง