Module one_time_executor

Module one_time_executor 

Source
Expand description

Type-safe wrapper to ensure one database operation per executor.

Structs§

OneTimeExecutor
A struct that owns an sqlx::Executor.

Traits§

IntoOneTimeExecutor
Marker trait for IntoOneTimeExecutorAt<'a> + 'a. Do not implement directly.
IntoOneTimeExecutorAt
A trait to signify that we can use an argument for 1 round trip to the database