pub struct OwnedResultSnapshot {
pub result: QueryResult,
pub arena: Arena,
}Expand description
A snapshot of query results that can be shared across threads.
Unlike OwnedResult, this does not own an arena — the data has been
copied into owned Vec<u8> storage for safe sharing.
Fields§
§result: QueryResultThe query result metadata (column offsets, column descriptors).
arena: ArenaArena data copied into owned storage for sharing.
Auto Trait Implementations§
impl Freeze for OwnedResultSnapshot
impl RefUnwindSafe for OwnedResultSnapshot
impl Send for OwnedResultSnapshot
impl Sync for OwnedResultSnapshot
impl Unpin for OwnedResultSnapshot
impl UnsafeUnpin for OwnedResultSnapshot
impl UnwindSafe for OwnedResultSnapshot
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