(&self)
| 392 | |
| 393 | impl FFI_SessionRef { |
| 394 | pub fn as_local(&self) -> Option<&(dyn Session + Send + Sync)> { |
| 395 | if (self.library_marker_id)() == crate::get_library_marker_id() { |
| 396 | return Some(self.inner()); |
| 397 | } |
| 398 | None |
| 399 | } |
| 400 | } |
| 401 | |
| 402 | impl TryFrom<&FFI_SessionRef> for ForeignSession { |
no test coverage detected