(config: &FFI_SessionConfig)
| 130 | type Error = DataFusionError; |
| 131 | |
| 132 | fn try_from(config: &FFI_SessionConfig) -> Result<Self, Self::Error> { |
| 133 | if (config.library_marker_id)() == crate::get_library_marker_id() { |
| 134 | return Ok(config.inner().clone()); |
| 135 | } |
| 136 | |
| 137 | let config_options = ConfigOptions::try_from(config.config_options.clone())?; |
| 138 | |
| 139 | Ok(SessionConfig::from(config_options)) |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | #[cfg(test)] |
nothing calls this directly
no test coverage detected