pub struct OwnedExecutionContext {
pub db_ptr: *const Database,
pub params: HashMap<String, Value>,
}Expand description
Owned execution context for FFI - uses raw pointer to avoid lifetime issues SAFETY: The caller must ensure db_ptr remains valid for the lifetime of this context
Fields§
§db_ptr: *const Database§params: HashMap<String, Value>Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for OwnedExecutionContext
impl !Send for OwnedExecutionContext
impl !Sync for OwnedExecutionContext
impl !UnwindSafe for OwnedExecutionContext
impl Freeze for OwnedExecutionContext
impl Unpin for OwnedExecutionContext
impl UnsafeUnpin for OwnedExecutionContext
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more