pub struct SqlReadContext<'connection> { /* private fields */ }Expand description
SQL access to one read-only snapshot. The connection and internal tables remain private; even SQL with RETURNING cannot write through this context.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'connection> Freeze for SqlReadContext<'connection>
impl<'connection> !RefUnwindSafe for SqlReadContext<'connection>
impl<'connection> !Send for SqlReadContext<'connection>
impl<'connection> !Sync for SqlReadContext<'connection>
impl<'connection> Unpin for SqlReadContext<'connection>
impl<'connection> UnsafeUnpin for SqlReadContext<'connection>
impl<'connection> !UnwindSafe for SqlReadContext<'connection>
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