Function with_current_session

Source
fn with_current_session<R>(f: impl FnOnce(&SessionImpl) -> R) -> Option<R>