Function transaction_diesel::with_conn
[−]
[src]
pub fn with_conn<'a, Conn, F, T, E>(f: F) -> WithConn<'a, Conn, F> where
F: Fn(&'a Conn) -> Result<T, E>,
Receive the connection from the executing transaction and perform computation.