Skip to main content

IsolationLevelFn

Type Alias IsolationLevelFn 

Source
pub type IsolationLevelFn = Arc<dyn Fn() -> IsolationLevel + Send + Sync>;
Expand description

Resolves the isolation level to apply to a connection. It is invoked once per connection creation, so a dyncfg-backed resolver lets a change take effect as the pool cycles connections.

Aliased Typeยง

pub struct IsolationLevelFn { /* private fields */ }