Skip to main content

with_session_properties

Function with_session_properties 

Source
pub fn with_session_properties<R>(
    explicit: &[(&str, &str)],
    f: impl FnOnce(&[(&str, &str)]) -> R,
) -> R
Expand description

Run f over the properties a session open hands its backend: explicit when the caller supplied any, else the installed table. Every road’s open goes through here (Executor::open, the C API’s open_session), so the table cannot reach one road and miss another.